The namespace for all UF/HTML utility functions, typically for static methods.
- Source:
Members
(static) _telestyleScopeCounter :number
Scope counter for unique telestyle identifiers.
Type:
-
number
(static) ctrl_pressed :boolean
Whether the Ctrl key is currently pressed.
- Source:
Type:
-
boolean
(static) mouse_x :number
The current mouse X position.
- Source:
Type:
-
number
(static) mouse_y :number
The current mouse Y position.
- Source:
Type:
-
number
Methods
(static) applyDynamicTelestyle(arg0_el, arg1_style_obj)
Applies dynamic (function-based) styles recursively for each frame.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_el |
HTMLElement
|
|
arg1_style_obj |
Object
|
Telestyle object for dynamic styles. |
(static) applyInlineTelestyle(arg0_el, arg1_style_obj)
Applies non-function styles as inline styles to a single element. Used only for :nth-parent targets that cannot use the stylesheet path.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_el |
HTMLElement
|
|
arg1_style_obj |
Object
|
(static) applyParentTelestyles(arg0_el, arg1_style_obj)
Walks the static Telestyle tree and applies inline styles only for :nth-parent selectors, which cannot be expressed in CSS.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_el |
HTMLElement
|
|
arg1_style_obj |
Object
|
Static Telestyle object. |
(static) applyTelestyle(arg0_el, arg1_style)
Applies Telestyle to a given element, accepting both Object and string formats.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_el |
HTMLElement
|
|
arg1_style |
Object
|
string
|
(static) applyTelestyleObject(arg0_el, arg1_style_obj)
Applies a persistent Telestyle Object to an element.
Root-level static styles are applied inline (preserving specificity). Descendant static styles are compiled into a scoped