implicit final class SaferHTMLDocument extends AnyVal
- See also
https://dom.spec.whatwg.org/#interface-document
https://html.spec.whatwg.org/multipage/dom.html#the-document-object
- Alphabetic
- By Inheritance
- SaferHTMLDocument
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SaferHTMLDocument(value: HTMLDocument)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
activeElement: Option[raw.Element]
Returns the currently focused element, that is, the element that will get keystroke events if the user types any.
Returns the currently focused element, that is, the element that will get keystroke events if the user types any. This attribute is read only.
MDN
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
body: Option[HTMLElement]
Returns the <body> or <frameset> node of the current document, or null if no such element exists.
Returns the <body> or <frameset> node of the current document, or null if no such element exists.
MDN
- def body_=(v: HTMLElement): Unit
-
def
defaultView: Option[raw.Window]
In browsers returns the window object associated with the document or null if none available.
In browsers returns the window object associated with the document or null if none available.
MDN
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
head: Option[HTMLHeadElement]
Returns the <head> element of the current document.
Returns the <head> element of the current document. If there are more than one <head> elements, the first one is returned.
MDN
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any
- val value: HTMLDocument