init

fun init(popupElement: HTMLElement)(source)

Initialize any state needed by the strategy.

Parameters

popupElement

The raw DOM element that represents the popup. This is useful for attaching event listeners.