org.querki

jsext

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    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. type OptMap = Map[String, Any]

    A map of option values, which JSOptionBuilder builds up.

  3. class RichFuture[T] extends AnyRef

    Useful enhancements to Future.

Value Members

  1. object JSOptionBuilder

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

  3. val noOpts: Map[String, Any]

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

Inherited from AnyRef

Inherited from Any

Ungrouped