Reference

bindDomRef

Runs a DOM callback after its element is connected and owns its cleanup.

Signature

function bindDomRef(element: Element, callback: DomRefCallback): DomRefBinding