Trilium Frontend API
Preparing search index...
<internal>
StyleModule
Class StyleModule
Index
Constructors
constructor
Methods
get
Rules
mount
new
Name
Constructors
constructor
new
StyleModule
(
spec
:
{
[
selector
:
string
]:
StyleSpec
}
,
options
?:
{
finish
?
(
sel
:
string
)
:
string
}
,
)
:
StyleModule
Parameters
spec
:
{
[
selector
:
string
]:
StyleSpec
}
Optional
options
:
{
finish
?
(
sel
:
string
)
:
string
}
Returns
StyleModule
Methods
get
Rules
getRules
()
:
string
Returns
string
Static
mount
mount
(
root
:
Document
|
DocumentOrShadowRoot
|
ShadowRoot
,
module
:
StyleModule
|
readonly
StyleModule
[]
,
options
?:
{
nonce
?:
string
}
,
)
:
void
Parameters
root
:
Document
|
DocumentOrShadowRoot
|
ShadowRoot
module
:
StyleModule
|
readonly
StyleModule
[]
Optional
options
:
{
nonce
?:
string
}
Returns
void
Static
new
Name
newName
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Rules
mount
new
Name
Trilium Frontend API
Loading...