Object

io.scalajs.util

ScalaJsHelper

Related Doc: package util

Permalink

object ScalaJsHelper

ScalaJS Convenience Helper Functions

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaJsHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class JsAnyExtensions extends AnyVal

    Permalink

    js.Dynamic to Value Extensions

  2. implicit final class JsArrayExtensions[A] extends AnyVal

    Permalink

    js.Array Extensions

  3. implicit final class JsDictionaryExtensions[A] extends AnyVal

    Permalink

    js.Dictionary Extensions

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. def New[T <: Any]: T

    Permalink
    Annotations
    @inline()
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def die[T](message: String): T

    Permalink
    Annotations
    @inline()
  8. def emptyArray[T]: Array[T]

    Permalink
    Annotations
    @inline()
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def futureCallbackA0(f: (Function0[Any]) ⇒ Unit): Promise[Unit]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  13. def futureCallbackA1[A](f: (Function1[A, Any]) ⇒ Unit): Promise[A]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  14. def futureCallbackA2[A, B](f: (Function2[A, B, Any]) ⇒ Unit): Promise[(A, B)]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  15. def futureCallbackA3[A, B, C](f: (Function3[A, B, C, Any]) ⇒ Unit): Promise[(A, B, C)]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  16. def futureCallbackA4[A, B, C, D](f: (Function4[A, B, C, D, Any]) ⇒ Unit): Promise[(A, B, C, D)]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  17. def futureCallbackE0[E <: Any](f: (Function1[E, Any]) ⇒ Unit): Promise[Unit]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  18. def futureCallbackE1[E <: Any, R](f: (Function2[E, R, Any]) ⇒ Unit): Promise[R]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  19. def futureCallbackE2[E <: Any, A, B](f: (Function3[E, A, B, Any]) ⇒ Unit): Promise[(A, B)]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  20. def futureCallbackE3[E <: Any, A, B, C](f: (Function4[E, A, B, C, Any]) ⇒ Unit): Promise[(A, B, C)]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  21. def futureCallbackE4[E <: Any, A, B, C, D](f: (Function5[E, A, B, C, D, Any]) ⇒ Unit): Promise[(A, B, C, D)]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  22. def futureCallbackX1[E, R](f: (Function2[E, R, Any]) ⇒ Unit): Promise[R]

    Permalink

    Converts a JavaScript-style callback to a Scala.js promise

    Converts a JavaScript-style callback to a Scala.js promise

    f

    the given callback function

    returns

    a Scala.js promise

    Annotations
    @inline()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. def isDefined(obj: Any): Boolean

    Permalink
    Annotations
    @inline()
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. implicit def promise2Future[T](task: Promise[T]): Future[T]

    Permalink
  31. implicit def promise2Future[T](task: Promise[T]): Future[T]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped