Package-level declarations

Types

Link copied to clipboard
sealed interface Animatable
Link copied to clipboard
class Attr : Node

The Attr interface represents one of an element's attributes as an object.

Link copied to clipboard

The CaretPosition interface represents the caret position, an indicator for the text insertion point.

Link copied to clipboard

The CDATASection interface represents a CDATA section that can be used within XML to include extended portions of unescaped text.

Link copied to clipboard

The CharacterData abstract interface represents a Node object that contains characters.

Link copied to clipboard
Link copied to clipboard
sealed interface ChildNode : Node
Link copied to clipboard
open class Comment(data: String = definedExternally) : CharacterData

The Comment interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.

Link copied to clipboard

The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.

Link copied to clipboard

The DocumentFragment interface represents a minimal document object that has no parent.

Link copied to clipboard
Link copied to clipboard
sealed interface DocumentReadyState
Link copied to clipboard

The DocumentType interface represents a Node containing a doctype.

Link copied to clipboard
sealed interface DocumentVisibilityState
Link copied to clipboard

The DOMImplementation interface represents an object providing methods which are not dependent on any particular document.

Link copied to clipboard

The DOMStringList interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (DOMString).

Link copied to clipboard

The DOMStringMap interface is used for the HTMLElement.dataset attribute, to represent data for custom attributes added to elements.

Link copied to clipboard

The DOMTokenList interface represents a set of space-separated tokens.

Link copied to clipboard

Element is the most general base class from which all element objects (i.e., objects that represent elements) in a Document inherit.

Link copied to clipboard
Link copied to clipboard
sealed interface ElementId
Link copied to clipboard
Link copied to clipboard
interface FocusOptions
Link copied to clipboard
Link copied to clipboard
interface GetHTMLOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Union of:

Link copied to clipboard
Link copied to clipboard
sealed interface InsertPosition
Link copied to clipboard

The NamedNodeMap interface represents a collection of Attr objects.

Link copied to clipboard
open class Node : EventTarget

The DOM Node interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably.

Link copied to clipboard
typealias NodeFilter = (node: Node) -> Short
Link copied to clipboard

The NodeIterator interface represents an iterator to traverse nodes of a DOM subtree in document order.

Link copied to clipboard
abstract class NodeList<T : Node> : ListLike<T>

NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll().

Link copied to clipboard
sealed interface NodeType
Link copied to clipboard
sealed interface NonDocumentTypeChildNode
Link copied to clipboard
sealed interface NonElementParentNode
Link copied to clipboard
sealed interface ParentNode : Node
Link copied to clipboard
Link copied to clipboard

The ProcessingInstruction interface represents a processing instruction; that is, a Node which embeds an instruction targeting a specific application but that can be ignored by any other applications which don't recognize the instruction.

Link copied to clipboard
open class Text(data: String = definedExternally) : CharacterData, Slottable

The Text interface represents a text Node in a DOM tree.

Link copied to clipboard

The TreeWalker object represents the nodes of a document subtree and a position within them.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
inline fun ElementId(value: String): ElementId
Link copied to clipboard
external fun getComputedStyle(element: Element, pseudoElement: String? = definedExternally): CSSStyleDeclaration