Element
Exposes the JavaScript Element to Kotlin
Since Kotlin
1.1Inheritors
Exposes the JavaScript Element to Kotlin
Since Kotlin
1.8Inheritors
Types
Properties
Gets a value indicating whether this node is a TEXT_NODE or a CDATA_SECTION_NODE.
Gets a value indicating whether this node is a TEXT_NODE or a CDATA_SECTION_NODE.
Functions
Adds CSS class to element. Has no effect if all specified classes are already in class attribute of the element
Adds CSS class to element. Has no effect if all specified classes are already in class attribute of the element
Creates text node and append it to the element.
Creates text node and append it to the element.
Creates text node and append it to the element.
Returns true if the element has the given CSS class style in its 'class' attribute
Returns true if the element has the given CSS class style in its 'class' attribute
Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element
Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element
Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element
For a Dynamic value caught in JS, returns the corresponding Throwable if it was thrown from Kotlin, or null otherwise.
Cast JsAny to other Js type without runtime check