Interface ICallbacksTypes

Available callback types for a component. These callbacks allow external interaction with the component's lifecycle events. This interface extends ICallbacksTypes, inheriting the callbacks defined for modules.

Hierarchy

Properties

destroy: undefined

Triggered when the module is destroyed.

dragMove: IMoveParameter

Fired when a drag event moves the slider

propsChange: undefined

Triggered when module properties are manually changed.

propsMutate: undefined

Triggered when module properties mutate due to responsive settings or other updates.

render: undefined

Fired during the rendering process

step: undefined

Fired when a step is completed

wheel: {
    pixelX: number;
    pixelY: number;
    spinX: number;
    spinY: number;
}

Fired when a wheel event is detected

Type declaration

  • pixelX: number
  • pixelY: number
  • spinX: number
  • spinY: number