com.raquo.ew

package com.raquo.ew

Type members

Classlikes

class JsArray[A] extends JsIterable[A]

To construct a new array with uninitialized elements, use the constructor of this class. To construct a new array with specified elements, as if you used the array literal syntax in JavaScript, use the companion object's apply method instead.

To construct a new array with uninitialized elements, use the constructor of this class. To construct a new array with specified elements, as if you used the array literal syntax in JavaScript, use the companion object's apply method instead.

Note that Javascript === equality semantics apply. JsArray does not know anything about Scala equals method or the case classes structural equality.

Type parameters:
A

Type of the elements of the array

Constructor:

Creates a new array of length 0.

Companion:
object
object JsArray
Companion:
class
trait JsIterable[+A] extends Object
Companion:
object
object JsIterable
Companion:
class
class JsMap[K, V]() extends JsIterable[Tuple2[K, V]]

The Map object holds key-value pairs and remembers the original insertion order of the keys. Any value (both objects and primitive values) may be used as either a key or a value. The Map is mutable, like everything in JS.

The Map object holds key-value pairs and remembers the original insertion order of the keys. Any value (both objects and primitive values) may be used as either a key or a value. The Map is mutable, like everything in JS.

Note that Javascript === equality semantics apply. JsMap does not know anything about Scala equals method or the case classes structural equality.

See also:
Companion:
object
object JsMap
Companion:
class
class JsSet[A]() extends JsIterable[A]

Set objects are collections of unique values. You can iterate through the elements of a set in insertion order. A value in the Set may only occur once; it is unique in the Set's collection. Sets are mutable, like everything in JS

Set objects are collections of unique values. You can iterate through the elements of a set in insertion order. A value in the Set may only occur once; it is unique in the Set's collection. Sets are mutable, like everything in JS

Note that Javascript === equality semantics apply. JsSet does not know anything about Scala equals method or the case classes structural equality.

The Map object holds key-value pairs and remembers the original insertion order of the keys. Any value (both objects and primitive values) may be used as either a key or a value. The Map is mutable, like everything in JS.

See also:
Companion:
object
object JsSet
Companion:
class
trait JsString extends JsIterable[String]

JS-native operations on strings. Alternative to JSStringOps from Scala.js

JS-native operations on strings. Alternative to JSStringOps from Scala.js

Companion:
object
object JsString
Companion:
class

Implicits

Implicits

implicit def ewArray[A](arr: Array[A]): RichScalaJsArray[A]
implicit def ewIterable[A](arr: Array[A]): RichScalaJsIterable[A]
implicit def ewMap[K, V](map: Map[K, V]): RichScalaJsMap[K, V]
implicit def ewSet[A](set: Set[A]): RichScalaJsSet[A]
implicit def ewString(str: String): RichString