Packages

package jsext

Utilities for working with Scala.js.

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

Type Members

  1. abstract class JSOptionBuilder[T <: Object, B <: JSOptionBuilder[T, _]] extends JSOptionSetter[T, B]

    Helper class for defining strongly-typed "options" classes to pass into Scala.js facades.

    Helper class for defining strongly-typed "options" classes to pass into Scala.js facades. This approach is particularly helpful for jQuery-based facades, which often take very complex options objects, with large numbers of polymorphic fields.

    T

    A placeholder facade trait -- usually just a declaration of a trait that inherits from js.Object.

    B

    This class. (It is probably possible to eliminate this declaration, but I haven't figured it out yet.)

  2. trait JSOptionSetter[T <: Object, B <: JSOptionBuilder[T, _]] extends AnyRef

    Trait enabling hierarchical option structures where options can be inherited from other classes.

    Trait enabling hierarchical option structures where options can be inherited from other classes.

    T

    See JSOptionBuilder

    B

    See JSOptionBuilder

  3. type OptMap = Map[String, Any]

    A map of option values, which JSOptionBuilder builds up.

  4. class RichFuture[T] extends AnyRef

    Useful enhancements to Future.

Value Members

  1. implicit def future2Wrapper[T](fut: Future[T]): RichFuture[T]
  2. val noOpts: Map[String, Any]

    An initial empty map of option values, which you use to begin building up the options object.

  3. object JSOptionBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped