part property
DOMTokenList
get
part
The part
property of the Element interface
represents the part identifier(s) of the element (i.e. set using the
part
attribute), returned as a DOMTokenList. These can be used to style parts
of a shadow DOM, via the pseudo-element.
Implementation
external DOMTokenList get part;