init()
Initialise the instance after destroying.
Syntax
Nestable.init()
const instance = new Nestable("#myList");
// destroy the instance.
instance.destroy();
// later
// reinitialise the instance.
instance.init();
Initialise the instance after destroying.
Nestable.init()
const instance = new Nestable("#myList");
// destroy the instance.
instance.destroy();
// later
// reinitialise the instance.
instance.init();