Attr

abstract class Attr : Node, JsAny

Exposes the JavaScript Attr to Kotlin

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val baseURI: String
Link copied to clipboard
Link copied to clipboard
open val firstChild: Node?
Link copied to clipboard
Link copied to clipboard
open val lastChild: Node?
Link copied to clipboard
open val localName: String
Link copied to clipboard
open val name: String
Link copied to clipboard
open val namespaceURI: String?
Link copied to clipboard
open val nextSibling: Node?
Link copied to clipboard
open val nodeName: String
Link copied to clipboard
open val nodeType: Short
Link copied to clipboard
open var nodeValue: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val parentNode: Node?
Link copied to clipboard
open val prefix: String?
Link copied to clipboard
Link copied to clipboard
open val specified: Boolean
Link copied to clipboard
open var textContent: String?
Link copied to clipboard
open var value: String

Functions

Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?)
fun addEventListener(type: String, callback: EventListener?)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: AddEventListenerOptions)
fun addEventListener(type: String, callback: EventListener?, options: Boolean)
Link copied to clipboard
fun appendChild(node: Node): Node
Link copied to clipboard
fun Node.clear()

Removes all the children from this node.

Link copied to clipboard
fun cloneNode(deep: Boolean): Node
Link copied to clipboard
Link copied to clipboard
fun contains(other: Node?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun insertBefore(node: Node, child: Node?): Node
Link copied to clipboard
Link copied to clipboard
fun isEqualNode(otherNode: Node?): Boolean
Link copied to clipboard
fun isSameNode(otherNode: Node?): Boolean
Link copied to clipboard
Link copied to clipboard
fun lookupPrefix(namespace: String?): String?
Link copied to clipboard
fun normalize()
Link copied to clipboard
fun removeChild(child: Node): Node
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: EventListenerOptions)
fun removeEventListener(type: String, callback: EventListener?, options: Boolean)
Link copied to clipboard
fun replaceChild(node: Node, child: Node): Node