Function: createHooks()

createHooks(): LixHooks

Creates a new hooks system for a Lix instance.

Uses the native EventTarget API under the hood for efficient event handling and automatic memory management.

Returns

LixHooks

LixHooks instance with event subscription methods

ON THIS PAGE