Package

org.querki

jsext

Permalink

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. All

Type Members

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

    Permalink

    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

    Permalink

    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]

    Permalink

    A map of option values, which JSOptionBuilder builds up.

  4. class RichFuture[T] extends AnyRef

    Permalink

    Useful enhancements to Future.

Value Members

  1. object JSOptionBuilder

    Permalink
  2. implicit def future2Wrapper[T](fut: Future[T]): RichFuture[T]

    Permalink
  3. val noOpts: Map[String, Any]

    Permalink

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

Inherited from AnyRef

Inherited from Any

Ungrouped