implicit final class SaferHTMLElement extends AnyVal
- See also
https://html.spec.whatwg.org/multipage/dom.html#htmlelement
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SaferHTMLElement
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SaferHTMLElement(value: HTMLElement)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
ownerDocumentOpt: Option[HTMLDocument]
Returns the Document that this node belongs to.
Returns the Document that this node belongs to. If no document is associated with it, returns null.
MDN
This is defined on Node; we override it here because we know (from the fact that this is an HTMLElement) that we are getting an HTMLDocument here.
-
def
parentElementOpt: Option[Element]
Returns an Element that is the parent of this node.
Returns an Element that is the parent of this node. If the node has no parent, or if that parent is not an Element, this property returns null.
MDN
-
def
toString(): String
- Definition Classes
- Any
- val value: HTMLElement