Expand description
Customise behaviour of Styles.
This module contains StyleManager
which can be used for customising
mounting point / mounting behaviour for styles (when rendering contents into a ShadowRoot
or
an <iframe />
).
This is an advanced feature and most of the time you don’t need to use it.
Structs
- StaticReader
ssr
The reader to read styles from aStyleManager
. - StaticWriter
ssr
The writer to be passed toStyleManager
to write styles. - StyleData
ssr
orhydration
Data of Styles managed by the current style manager. - The Unique Identifier of a Style.
- A struct to customise behaviour of
Style
. - A builder for
StyleManager
.
Functions
- Creates a StaticWriter - StaticReader pair.