Element

external interface Element

Properties

Link copied to clipboard
abstract var attributes: Array<Array<String>>
Link copied to clipboard
abstract var namespaceURI: String
Link copied to clipboard
abstract var removed: Boolean
Link copied to clipboard
abstract var tagName: String

Functions

Link copied to clipboard
abstract fun after(content: String, options: ContentOptions = definedExternally): Element
Link copied to clipboard
abstract fun append(content: String, options: ContentOptions = definedExternally): Element
Link copied to clipboard
abstract fun before(content: String, options: ContentOptions = definedExternally): Element
Link copied to clipboard
abstract fun getAttribute(name: String): String?
Link copied to clipboard
abstract fun hasAttribute(name: String): Boolean
Link copied to clipboard
abstract fun onEndTag(handler: (tag: EndTag) -> Any)
Link copied to clipboard
abstract fun prepend(content: String, options: ContentOptions = definedExternally): Element
Link copied to clipboard
abstract fun remove(): Element
Link copied to clipboard
Link copied to clipboard
abstract fun removeAttribute(name: String): Element
Link copied to clipboard
abstract fun replace(content: String, options: ContentOptions = definedExternally): Element
Link copied to clipboard
abstract fun setAttribute(name: String, value: String): Element
Link copied to clipboard
abstract fun setInnerContent(content: String, options: ContentOptions = definedExternally): Element