io.scalajs.dom.ProcessingInstruction.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dom-html_sjs0.6_2.11 Show documentation
Show all versions of dom-html_sjs0.6_2.11 Show documentation
DOM/HTML bindings for Scala.js
package io.scalajs.dom
import scala.scalajs.js
import scala.scalajs.js.annotation.JSGlobal
/**
* Processing Instruction
* @author [email protected]
*/
@js.native
@JSGlobal("ProcessingInstruction")
class ProcessingInstruction extends js.Object {
/**
* The character data of a [[Text]], [[Comment]] or [[CDATASection]] node,
* or the data in a ProcessingInstruction node.
*/
var data: String = js.native
/**
* The target of a ProcessingInstruction node, ie. the token immediately
* after the opening delimiter.
*/
def target: Node = js.native
}