Package

com.raquo.dombuilder.generic

syntax

Permalink

package syntax

Visibility
  1. Public
  2. All

Type Members

  1. final class EventPropSyntax[N, BaseElementRef <: BaseRef, BaseRef, Ev <: BaseEvent, BaseEvent, Callback[-_]] extends AnyVal

    Permalink

    This class is created implicitly to provide syntax like onClick := doSomething

  2. final class KeySyntax[+K <: Key] extends AnyVal

    Permalink

    This class provides key := value syntax for supported key-value types.

    This class provides key := value syntax for supported key-value types.

    Event props use slightly different syntax defined in EventPropSyntax

    You need an implicit setter builder value in scope for this to work. Default ones are specified in com.raquo.dombuilder.generic.KeyImplicits

  3. trait SyntaxImplicits[N, BaseHtmlElementRef <: BaseRef, BaseSvgElementRef <: BaseRef, BaseRef, BaseEvent, Callback[-_]] extends AnyRef

    Permalink

    This trait defines implicit conversions that power Scala DOM Builder syntax, namely the key := value setter creation, and tag(...modifiers) element creation.

    This trait defines implicit conversions that power Scala DOM Builder syntax, namely the key := value setter creation, and tag(...modifiers) element creation.

    These conversions must be in scope to use conventional Scala DOM Builder syntax.

    Most likely you also want com.raquo.dombuilder.generic.KeyImplicits to be in scope to use default com.raquo.dombuilder.generic.modifiers.Setter builders.

  4. trait TagSyntax[+El] extends AnyRef

    Permalink

    This trait provides tag(...modifiers) syntax

Ungrouped