getEnabledElement
Callable
Parameters
element: HTMLDivElement
a reference to an EnabledElement/Viewport’s div element
Returns IEnabledElement | undefined
the associated EnabledElement, or undefined if no matching EnabledElement can be found
a reference to an EnabledElement/Viewport’s div element
the associated EnabledElement, or undefined if no matching EnabledElement can be found
A convenience method to find an EnabledElement given a reference to its associated element. Commonly used in code that’s handling a custom event emitted by this library.