Skip to main content

Interface: CallbackOptions

Properties​

key?​

optional key: string

String identifier used to identify the callback. Only needed if the callback will be removed later

Defined in​

m2c2kit/packages/core/src/CallbackOptions.ts:5


replaceExisting?​

optional replaceExisting: boolean

Should the provided callback replace any existing callbacks of the same event type for this target? Default is false

Defined in​

m2c2kit/packages/core/src/CallbackOptions.ts:3