Optional
Readonly
nsNamespace aliaser to use.
New instance will be created if not specified.
Optional
Readonly
rendererRenderer or renderer chain to use.
Optional
Readonly
rootA selector to use for root CSS rule.
body
by default.
For custom elements a :host
selector would be more appropriate.
Optional
Readonly
schedulerDOM rendering operations scheduler.
Creates a render schedule per rule.
newRenderSchedule
is used when omitted.
Creates CSS style sheet writer.
This method is called once per each CSS rule.
Style producer instance.
CSS style sheet writer.
Generated using TypeDoc
CSS styles production format.
Accepted by produceStyle function.
The following formats supported by
style-producer
:<style>
element per CSS rule and utilizes CSS object model to build its style sheet.<style>
element with CSS text content generated by stypTextFormat. This is slower, but allows to generate styles before adding them to document.