This function allows to override a global default by key or if a object is given as key to override all default at once
Name | Type | Description | |
---|---|---|---|
key |
String
|
This is the key to override |
|
value |
String
Function
Object
|
This is the value to set for the key |
Void
This function returns the value of a default by key or all default if no key is given
Name | Type | Description | |
---|---|---|---|
key |
String
|
This the key of the default. |
Returns the current value for a default with a certain key.
Creates a style sheet with the given id and returns it.
Name | Type | Description | |
---|---|---|---|
id |
string
|
|
HTMLStyleElement
the style sheet
This function registers a new casting function
Name | Type | Description | |
---|---|---|---|
name |
string
|
|
|
func |
function
|
|
Void
This function resolves the casting of the CSS property
Name | Type | Description | |
---|---|---|---|
cmd |
string
|
|
|
value |
string
|
|
string
This function checks if the string is a valid CSS property
Name | Type | Description | |
---|---|---|---|
str |
string
|
|
boolean
This function inserts the style into the style sheet
Name | Type | Description | |
---|---|---|---|
id |
string
|
|
|
style |
string
|
|
Void
This function removes the style from the element
Name | Type | Description | |
---|---|---|---|
id |
string
|
|
Void
This function updates the style of the element.
Name | Type | Description | |
---|---|---|---|
id |
string
|
|
|
style |
string
|
|
Void
This function sets the style of an element
Name | Type | Description | |
---|---|---|---|
id |
string
|
|
|
style |
object
|
|
Void
This function converts a style object to a string
Name | Type | Description | |
---|---|---|---|
style |
object
|
|
string
This function resolves the CSS property
Name | Type | Description | |
---|---|---|---|
prop |
string
|
|
array
This function parses the transform property and returns the value of the property
Name | Type | Description | |
---|---|---|---|
prop |
string
|
|
|
string |
string
|
|
string
Remove a style variable from all elements in the base element
Name | Type | Description | |
---|---|---|---|
str |
string
|
|
|
baseElm |
HTMLElement
|
|
Void
This function updates the CSS variables for the element
Name | Type | Description | |
---|---|---|---|
styleVariableName |
string
|
|
|
elm |
HTMLElement
|
|
Void
This function updates the vars
Name | Type | Description | |
---|---|---|---|
mutations |
Array.<MutationRecord>
|
|
Void
This function updates the tree
Name | Type | Description | |
---|---|---|---|
mutations |
Array.<MutationRecord>
|
|
Void
This function sets the style of the element
Name | Type | Description | |
---|---|---|---|
element |
HTMLElement
|
|
|
style |
string
|
|
Void