Home > @findkit/ui > FindkitUI > openFrom

FindkitUI.openFrom() method

Open the modal from the given elements. If a string is given it is used as a query selector to find the elements after the DOMContentLoaded event.

The implementation is preloaded on mouseover.

Signature:

openFrom(selector: ElementSelector<HTMLElement>): () => void;

Parameters

Parameter Type Description
selector ElementSelector<HTMLElement>

Returns:

() => void

unbind function