Developing Web Components by Jarrod Overson & Jason Strimpel

Developing Web Components by Jarrod Overson & Jason Strimpel

Author:Jarrod Overson & Jason Strimpel
Language: eng
Format: epub
Publisher: O'Reilly Media, Inc.
Published: 2015-02-25T05:00:00+00:00


// using the previous code block as an example // determine older shadow root r1.olderShadowRoot === null; // true; first in the stack r2.olderShadowRoot === r1; // true r3.olderShadowRoot === r2; // true // determine a host's shadow root host.shadowRoot === r1; // false; there can only be one (LIFO) host.shadowRoot === r2; // false; ditto host.shadowRoot === r3; // true // determine a shadow root's host r1.host === host; // true r2.host === host; // true r3.host === host; // true

Events and the Shadow DOM



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.