vue-lynx/vapor / onBinding

Function: onBinding()

function onBinding(
   el, 
   event, 
   handler, 
   options): void

Reactive event binding used by the Vapor compiler for dynamic event names.

Delegate effect cleanup and array handling to upstream onBinding, but intercept its generated invoker before it reaches ShadowElement so the original handler's _lynxCatch marker survives. The adapter forwards the exact same invoker to removal, preserving upstream's onEffectCleanup identity and rebinding semantics.

Parameters

ParameterType
elShadowElement
eventstring
handlerEventHandlerValue
optionsAddEventListenerOptions

Returns

void

Defined in

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