Interface ICallbacksTypes

Types of callbacks available for the custom cursor component.

Hierarchy

Properties

create: {
    innerElement: HTMLElement;
    outerElement: HTMLElement;
}

Triggered when the custom cursor is created. Provides access to the outer and inner HTML elements of the cursor.

Type declaration

  • innerElement: HTMLElement
  • outerElement: HTMLElement
destroy: undefined

Triggered when the module is destroyed.

propsChange: undefined

Triggered when module properties are manually changed.

propsMutate: undefined

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

Triggered on each render to update the cursor's position. Provides the current x and y coordinates.