Trait/Object

io.scalajs.npm.jsdom

JsDom

Related Docs: object JsDom | package jsdom

Permalink

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def blobToBuffer: Function

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createCookieJar(): CookieJar

    Permalink
  8. def created(callback: Function2[Any, JsDomWindowWithJQuery, Any]): Unit

    Permalink
  9. def defaultView: JsDomWindowWithJQuery

    Permalink
  10. def env(config: |[EnvironmentOptions, Any]): Any

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def evalVMScript: Function

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getVirtualConsole(window: JsDomWindowWithJQuery): VirtualConsole

    Permalink
  18. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  22. def jQueryify: Function

    Permalink
  23. def jsdom(html: String, options: |[EnvironmentOptions, RawOptions] = js.native): Document

    Permalink
  24. def jsdom: JsDom

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def nodeLocation: Function

    Permalink
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  30. def sendTo(console: VirtualConsole): VirtualConsole

    Permalink
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped