Interface StypDomFormatConfig

Configuration of DOM style production format.

Hierarchy

Properties

document?: Document

Document to add style elements to.

parent.ownerDocument or window.document by default.

nsAlias?: NamespaceAliaser

Namespace aliaser to use.

New instance will be created if not specified.

parent?: Node

Parent DOM node to add stylesheets to.

document.head by default.

This node don't have to be attached to document.

pretty?: boolean | PrettyPrint

How to pretty-print generated CSS text.

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.

Uses newRenderSchedule for parent node by default.

Generated using TypeDoc