Retrieves a Component instance associated with a given DOM element. Components created by this library internally store a reference to their instance on their dom property.
dom
The DOM element to check.
The Component instance if found, otherwise null.
null
Retrieves a Component instance associated with a given DOM element. Components created by this library internally store a reference to their instance on their
domproperty.