org.danielnixon.saferdom.impl.lib

SaferElement

implicit final class SaferElement extends AnyVal

See also

https://dom.spec.whatwg.org/#interface-element

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SaferElement
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SaferElement(value: Element)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. 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

  6. 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

  7. 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

  8. 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

  9. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  11. 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

  12. 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

  13. 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

  14. 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

  15. def toString(): String

    Definition Classes
    Any
  16. val value: Element

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped