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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsDom
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def blobToBuffer: Function
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def createCookieJar(): CookieJar
- def created(callback: Function2[Any, JsDomWindowWithJQuery, Any]): Unit
- def defaultView: JsDomWindowWithJQuery
-
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
-
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:
- 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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def evalVMScript: Function
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def getVirtualConsole(window: JsDomWindowWithJQuery): VirtualConsole
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def jQueryify: Function
- def jsdom(html: String, options: |[EnvironmentOptions, RawOptions] = js.native): Document
- def jsdom: JsDom
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nodeLocation: Function
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def sendTo(console: VirtualConsole): VirtualConsole
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )