Constructs DOM style production format.
Target component context.
When to start style rendering. settled
by default.
Optional
Readonly
when?: "connected" | "settled"Readonly
contextTarget component context.
Readonly
whenWhen to start component style rendering.
One of:
settled
(the default) - to start rendering when component is settled.
connected
- to start rendering when component's element is connected to document.
Builds configuration of DOM style production format.
This method is called by format one.
Configuration of DOM style production format.
Optional
config: ComponentStypFormatConfig & StypDomFormatConfigOriginal component style production format configuration.
Builds CSS style production format to by its config.
This method is called by produce one.
Component style production format.
Optional
config: ComponentStypFormatConfig & StypDomFormatConfigComponent style production format configuration.
Creates component's CSS stylesheets producer based on the given CSS rules.
Utilizes ComponentStyleProducer.
CSS rules producer function returning CSS rules supply. Once cut off the produced stylesheets are removed.
A source of CSS rules to produce stylesheets for.
Optional
config: ComponentStypFormatConfigStyle production format configuration.
Creates component's CSS stylesheets producer based on the given CSS rules.
Utilizes ComponentStyleProducer.
CSS rules producer function returning CSS rules supply. Once cut off the produced stylesheets are removed.
Produces and dynamically updates component's CSS stylesheets based on the given CSS rules.
Utilizes component's producer function.
CSS rules supply. Once cut off the produced stylesheets are removed.
A source of CSS rules to produce stylesheets for.
Optional
config: ComponentStypFormatConfigStyle production format configuration.
Builds component-specific style renderer.
This renderer applies host selector to generated CSS rules.
This method is called by format one.
Component style renderer(s).
Component style production format configuration.
Static
perStatic
toGenerated using TypeDoc
Component's DOM style production format.
Renders CSS styles as text.
This format is generally slower than ComponentStypObjectFormat, but allows to render styles before element is connected to document.