Interface StypTextFormat

Textual CSS production format.

Represents each style sheet in textual form and reports it to registered receivers. Such receivers should be registered before style production started in order to receive all style sheets.

Hierarchy

Properties

nsAlias?: NamespaceAliaser

Namespace aliaser to use.

New instance will be created if not specified.

onSheet: OnEvent<[StypSheetText]>

An OnEvent sender of style sheet textual representation.

Sends textual representation of each rendered style sheet on each update.

pretty: false | PrettyPrint

Detailed configuration of CSS text pretty print, or false for compact output.

renderer?: StypRenderer | readonly StypRenderer[]

Renderer or renderer chain to use.

rootSelector?: DoqrySelector

A selector to use for root CSS rule.

body by default.

For custom elements a :host selector would be more appropriate.

scheduler?: RenderScheduler

DOM rendering operations scheduler.

Creates a render schedule per rule.

newRenderSchedule is used when omitted.

Methods

Generated using TypeDoc