object DomApi
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DomApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addEventListener[Ev <: Event](element: Base, listener: EventListener[Ev, _]): Unit
Events
- def appendChild(parent: Base, child: Base): Boolean
Tree functions
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def createCommentNode(text: String): Comment
Comment Nodes
- def createHtmlElement[Ref <: Element](element: ReactiveHtmlElement[Ref]): Ref
HTML Elements
- def createSvgElement[Ref <: Element](element: ReactiveSvgElement[Ref]): Ref
- def createTextNode(text: String): Text
Text Nodes
- def debugNodeDescription(node: Node): String
- returns
e.g. a, div#mainSection, span.sideNote.sizeSmall
- def debugPath(element: Node, initial: List[String] = Nil): List[String]
- returns
hierarchical path describing the position and identity of this node, starting with the root.
- Annotations
- @tailrec()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getChecked(element: Element): UndefOr[Boolean]
Input related stuff
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getHtmlAttribute[V, DomV](element: Base, attr: HtmlAttr[V]): Option[V]
- def getHtmlProperty[V, DomV](element: Base, prop: Prop[V, DomV]): V
#Note not sure if this is completely safe.
#Note not sure if this is completely safe. Could this return null?
- def getSvgAttribute[V](element: Base, attr: SvgAttr[V]): Option[V]
- def getValue(element: Element): UndefOr[String]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def insertBefore(parent: Base, newChild: Base, referenceChild: Base): Boolean
- def isCustomElement(element: Element): Boolean
Custom Elements
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def removeChild(parent: Base, child: Base): Boolean
- def removeEventListener[Ev <: Event](element: Base, listener: EventListener[Ev, _]): Unit
- def removeHtmlAttribute(element: Base, attr: HtmlAttr[_]): Unit
- def removeSvgAttribute(element: Base, attr: SvgAttr[_]): Unit
- def replaceChild(parent: Base, newChild: Base, oldChild: Base): Boolean
- def setChecked(element: Element, checked: Boolean): Boolean
- returns
whether the operation succeeded
- def setCommentNodeText(node: CommentNode, text: String): Unit
- def setHtmlAnyStyle[V](element: Base, style: Style[V], value: |[V, String]): Unit
- def setHtmlAttribute[V](element: Base, attr: HtmlAttr[V], value: V): Unit
- def setHtmlProperty[V, DomV](element: Base, prop: Prop[V, DomV], value: V): Unit
- def setHtmlStringStyle(element: Base, style: Style[_], value: String): Unit
- def setHtmlStyle[V](element: Base, style: Style[V], value: V): Unit
- def setSvgAttribute[V](element: Base, attr: SvgAttr[V], value: V): Unit
- def setTextNodeText(node: TextNode, text: String): Unit
- def setValue(element: Element, value: String): Boolean
- returns
whether the operation succeeded
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated