Optional
Readonly
hostStructured CSS selector to use for custom element's host.
It modifies the selectors of produced CSS rules.
For custom element with shadow root:
hostSelector
is omitted, then replaces root CSS rule selector with :host
.:host
, then replaces :host
with :host(<hostSelector>)
:host(<selector>)
, then extends <selector>
by hostSelector
.
I.e. appends CSS classes and sub-selectors to it, and fulfills missing element and identifier selectors.For custom element without shadow root either uses provided hostSelector
, or generates a unique one when omitted.
And additionally:
hostSelector
.:host
, then replaces :host
with hostSelector
.:host(<selector>), then replaces
:host(with
extended by
hostSelector`. I.e. appends CSS classes and sub-selectors to it, and fulfills missing element and identifier
selectors.hostSelector
.This selector should not contain a :host
sub-selector.
Optional
Readonly
nsNamespace aliaser to use.
Default NamespaceAliaser
used when omitted.
Optional
Readonly
rendererRenderer or renderer chain to use.
Optional
Readonly
rootRoot CSS selector is never used for custom elements. A hostSelector
is applied instead.
Optional
Readonly
schedulerDOM rendering operations scheduler.
Creates a render schedule per rule.
ElementRenderScheduler
is used when omitted.
Generated using TypeDoc
Configuration of component style production format.
Depends on @frontmeans/style-producer.