Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 1.04 KB

styleSheets.md

File metadata and controls

33 lines (20 loc) · 1.04 KB

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

  • text
  • request Object Debugging protocol request object, with 'text property'

Returns Promise.Object Object with 'styelSheet' property for form on new actor.