use-parent
Retrieve a node higher than the current webcomponent.
Module
Syntax useParent
Where:
selector
:String
, Selector to be used by Element.matches when searching for the parent.parent
:Element
, ascending search result according to selector.
Syntax useParentPath
Where:
parents:
parent nodes of the webcomponentcomposed
: bypasses shadow DOM in parent capture.
Example
Last updated