DocumentType

JS
1.1
abstract class DocumentType : Node, ChildNode

Exposes the JavaScript DocumentType to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript DocumentType to Kotlin

DocumentType()

Properties

JS
1.1

name

open val name: String
JS
1.1

publicId

open val publicId: String
JS
1.1

systemId

open val systemId: String

Extension Properties

JS
1.1

isElement

Gets a value indicating whether this node is an Element.

val Node.isElement: Boolean
JS
1.1

isText

Gets a value indicating whether this node is a TEXT_NODE or a CDATA_SECTION_NODE.

val Node.isText: Boolean

Extension Functions

JS
1.1

clear

Removes all the children from this node.

fun Node.clear()