This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

addStyleSheet

Summary

Adds a new style sheet to shadow root style sheets.

Method of dom/shadowdom/ShadowRootdom/shadowdom/ShadowRoot

Syntax

var result = element.addStyleSheet();

Return Value

Returns an object of type