disable()


Disable the instance

Syntax
Nestable.disable()

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


const instance = new Nestable("#myList");

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