Packages

trait JsDom extends Object

A JavaScript implementation of the WHATWG DOM and HTML standards, for use with Node.js.

Annotations
@RawJSType() @native()
Version

9.9.1

See also

https://github.com/tmpvar/jsdom

Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsDom
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def blobToBuffer: Function
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createCookieJar(): CookieJar
  8. def created(callback: Function2[Any, JsDomWindowWithJQuery, Any]): Unit
  9. def defaultView: JsDomWindowWithJQuery
  10. def env(config: |[EnvironmentOptions, Any]): Any

    Creates a new DOM environment

    Creates a new DOM environment

    config

    the given configuration object

    returns

    a new DOM environment

  11. def env(content: String, scripts: Array[String], config: Any = js.native, callback: Function2[Error, JsDomWindowWithJQuery, Any]): Any

    Creates a new DOM environment

    Creates a new DOM environment

    content

    may be a URL, file name, or HTML fragment

    scripts

    a string or array of strings, containing file names or URLs that will be inserted as <script> tags

    config

    the given configuration object

    callback

    takes two arguments:

    1. err: either null, if nothing goes wrong, or an error, if the window could not be created 2. window: a brand new window, if there wasn't an error
    returns

    a new DOM environment

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def evalVMScript: Function
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def getVirtualConsole(window: JsDomWindowWithJQuery): VirtualConsole
  18. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  22. def jQueryify: Function
  23. def jsdom(html: String, options: |[EnvironmentOptions, RawOptions] = js.native): Document
  24. def jsdom: JsDom
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def nodeLocation: Function
  27. final def notify(): Unit
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  29. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  30. def sendTo(console: VirtualConsole): VirtualConsole
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toLocaleString(): String
    Definition Classes
    Object
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def valueOf(): Any
    Definition Classes
    Object
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped