HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

shadowRoot

Description

The shadowRoot of Element for JS returns element’s shadow root, if any, and if shadow root’s mode is "open", and null otherwise.

Syntax

shadow = element.shadowRoot

Examples

1 · closed

2 · open