implicit final class SaferElement extends AnyVal
- See also
https://dom.spec.whatwg.org/#interface-element
- Alphabetic
- By Inheritance
- SaferElement
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SaferElement(value: Element)
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
getAttributeNSOpt(namespaceURI: String, localName: String): Option[String]
getAttributeNS returns the string value of the attribute with the specified namespace and name.
getAttributeNS returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see Notes for details.
MDN
-
def
getAttributeNodeNSOpt(namespaceURI: String, localName: String): Option[Attr]
Returns the Attr node for the attribute with the given namespace and name.
Returns the Attr node for the attribute with the given namespace and name.
MDN
-
def
getAttributeNodeOpt(name: String): Option[Attr]
Returns the specified attribute of the specified element, as an Attr node.
Returns the specified attribute of the specified element, as an Attr node.
MDN
-
def
getAttributeOpt(name: String): Option[String]
getAttribute() returns the value of the named attribute on the specified element.
getAttribute() returns the value of the named attribute on the specified element. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see Notes for details.
MDN
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
namespaceURIOpt: Option[String]
The namespace URI of the element, or null if it is no namespace.
The namespace URI of the element, or null if it is no namespace.
MDN
-
def
prefixOpt: Option[String]
A DOMString representing the namespace prefix of the element, or null if no prefix is specified.
A DOMString representing the namespace prefix of the element, or null if no prefix is specified.
MDN
-
def
setAttributeNodeNSOpt(newAttr: Attr): Option[Attr]
setAttributeNodeNS adds a new namespaced attribute node to an element.
setAttributeNodeNS adds a new namespaced attribute node to an element.
MDN
-
def
setAttributeNodeOpt(newAttr: Attr): Option[Attr]
setAttributeNode() adds a new Attr node to the specified element.
setAttributeNode() adds a new Attr node to the specified element.
MDN
-
def
toString(): String
- Definition Classes
- Any
- val value: Element