Attachable
Interface for objects that can be attached to and detached from DOM elements.
Sinceโ
2.0.0
Propertiesโ
isAttached: booleanโ
Whether the object is currently attached to an element.
Methodsโ
attachTo()โ
Attaches the object to the specified element.
element:
EventTarget
Returns:void
detach()โ
Detaches the object from its current element.
Returnsโ
void
destroy()โ
Destroys the object and releases all resources.
Returnsโ
void