ProcessingInstruction

abstract external class ProcessingInstruction : 
    CharacterData,
    LinkStyle,
    UnionElementOrProcessingInstruction
(source)

Platform and version requirements: JS

Exposes the JavaScript ProcessingInstruction to Kotlin

Constructors

<init>

ProcessingInstruction()

Exposes the JavaScript ProcessingInstruction to Kotlin

Properties

target

open val target: String

Inherited Properties

data

open var data: String

length

open val length: Int

sheet

abstract val sheet: StyleSheet?

Inherited Functions

appendData

fun appendData(data: String)

deleteData

fun deleteData(offset: Int, count: Int)

insertData

fun insertData(offset: Int, data: String)

replaceData

fun replaceData(offset: Int, count: Int, data: String)

substringData

fun substringData(offset: Int, count: Int): String

Extension Properties

isElement

val Node.isElement: Boolean

Gets a value indicating whether this node is an Element.

isText

val Node.isText: Boolean

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

Extension Functions

clear

fun Node.clear()

Removes all the children from this node.