vue-lynx/vapor / withVaporModifiers

Function: withVaporModifiers()

function withVaporModifiers(fn, modifiers): AnyFn | undefined

Vapor counterpart of vue-lynx's withModifiers: wraps the handler with Lynx modifier semantics. .stop handlers carry the _lynxCatch tag so the on override below registers them as native catchEvent.

Parameters

ParameterType
fnundefined | EventHandler
modifiersstring[]

Returns

AnyFn | undefined

Defined in

packages/vue-lynx/runtime/src/vapor/index.ts:115