Package-level declarations

Types

Link copied to clipboard
interface ElementTarget

An interface for finding some target element, relative to some given initial element.

Properties

Link copied to clipboard

Returns a sequence of all ancestors of this element, starting with the element itself.

Link copied to clipboard

Returns a sequence of all descendants of this element, starting with the element itself, in a breadth-first manner.

Link copied to clipboard

Returns a sequence of all descendants of this element, starting with the element itself, in a depth-first manner.

Functions

Link copied to clipboard
Link copied to clipboard
fun Document.generateUniqueId(len: Int = 6, prefix: String = ""): String

Generates an element ID guaranteed unique for the current Document.