implicit final class SaferDocument extends AnyVal
- See also
https://dom.spec.whatwg.org/#interface-document
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SaferDocument
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SaferDocument(value: raw.Document)
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
doctype: Option[raw.DocumentType]
Returns the Document Type Declaration (DTD) associated with current document.
Returns the Document Type Declaration (DTD) associated with current document. The returned object implements the DocumentType interface. Use DOMImplementation.createDocumentType() to create a DocumentType.
MDN
-
def
documentElement: Option[raw.Element]
Returns the Element that is the root element of the document (for example, the <html> element for HTML documents).
Returns the Element that is the root element of the document (for example, the <html> element for HTML documents).
MDN
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getElementById(elementId: String): Option[raw.Element]
Returns an object reference to the identified element.
Returns an object reference to the identified element.
MDN
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any
- val value: raw.Document