styleSheets.md
September 4, 2017 ยท View on GitHub
Table of Contents
StyleSheets
Extends Actor
Creates a StyleSheetsActor. StyleSheetsActor provides remote access to the stylesheets of a document.
getStyleSheets
Protocol method for getting a list of StyleSheetActors representing all the style sheets in this document.
Returns Array<Promise.StyleSheet> list of all stylesheets of this document
addStyleSheet
Create a new style sheet in the document with the given text. Return an actor for it.
Parameters
textrequestObject Debugging protocol request object, with 'text property'
Returns Promise.Object Object with 'styelSheet' property for form on new actor.