disable()


Disable the instance

Syntax
Selectable.disable()

This removes all event listeners to prevent further interaction. You can re-enable the instance with the enable() method.


const selectable = new Selectable();

// disable the instance.
selectable.disable();