Packages

p

io

udash

package udash

Linear Supertypes
Routing, Properties, Bindings, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. udash
  2. Routing
  3. Properties
  4. Bindings
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Application [S <: State] extends AnyRef

    Root application which is used to start single instance of app.

    Root application which is used to start single instance of app.

    S

    Should be a sealed trait which extends io.udash.core.State.

  2. type CastableProperty[A] = udash.properties.single.CastableProperty[A]
    Definition Classes
    Properties
  3. type CastableReadableProperty[A] = udash.properties.single.CastableReadableProperty[A]
    Definition Classes
    Properties
  4. type DefaultValidationError = udash.properties.DefaultValidationError
    Definition Classes
    Properties
  5. type DefaultViewPresenterFactory[S <: State] = udash.core.DefaultViewPresenterFactory[S]
  6. type EmptyPresenter[S <: State] = udash.core.EmptyPresenter[S]
  7. type FileUploader = udash.utils.FileUploader
  8. type FinalView = udash.core.FinalView
  9. type ModelProperty[A] = udash.properties.model.ModelProperty[A]
    Definition Classes
    Properties
  10. type Patch[+P <: ReadableProperty[_]] = udash.properties.seq.Patch[P]
    Definition Classes
    Properties
  11. type Presenter[S <: State] = udash.core.Presenter[S]
  12. type Property[A] = udash.properties.single.Property[A]
    Definition Classes
    Properties
  13. type ReadableModelProperty[A] = udash.properties.model.ReadableModelProperty[A]
    Definition Classes
    Properties
  14. type ReadableProperty[A] = udash.properties.single.ReadableProperty[A]
    Definition Classes
    Properties
  15. type ReadableSeqProperty[A] = udash.properties.seq.ReadableSeqProperty[A, _ <: ReadableProperty[A]]
    Definition Classes
    Properties
  16. type Registration = udash.utils.Registration
  17. type RoutingEngine[S <: udash.core.State] = udash.routing.RoutingEngine[S]
    Definition Classes
    Routing
  18. type RoutingRegistry[S <: State] = udash.core.RoutingRegistry[S]
  19. type SeqProperty[A] = udash.properties.seq.SeqProperty[A, _ <: Property[A]]
    Definition Classes
    Properties
  20. type State = udash.core.State
  21. type StrictLogging = udash.utils.StrictLogging
  22. type Url = udash.core.Url
  23. type UrlChangeProvider = udash.routing.UrlChangeProvider
    Definition Classes
    Routing
  24. type ValidationError = udash.properties.ValidationError
    Definition Classes
    Properties
  25. type ValidationResult = udash.properties.ValidationResult
    Definition Classes
    Properties
  26. type Validator[T] = udash.properties.Validator[T]
    Definition Classes
    Properties
  27. type View = udash.core.View
  28. type ViewPresenter[S <: State] = udash.core.ViewPresenter[S]
  29. type ViewPresenterRegistry[S <: State] = udash.core.ViewPresenterRegistry[S]
  30. type ViewRenderer = udash.view.ViewRenderer

Value Members

  1. val /:/: udash.routing./:/.type
    Definition Classes
    Routing
  2. val CallbackSequencer: udash.properties.CallbackSequencer.type
    Definition Classes
    Properties
  3. val CheckButtons: udash.bindings.CheckButtons.type
    Definition Classes
    Bindings
  4. val Checkbox: udash.bindings.Checkbox.type
    Definition Classes
    Bindings
  5. val DefaultValidationError: udash.properties.DefaultValidationError.type
    Definition Classes
    Properties
  6. val FileInput: udash.bindings.FileInput.type
    Definition Classes
    Bindings
  7. val FileUploader: udash.utils.FileUploader.type
  8. val Invalid: udash.properties.Invalid.type
    Definition Classes
    Properties
  9. val ModelProperty: udash.properties.model.ModelProperty.type
    Definition Classes
    Properties
  10. val NumberInput: udash.bindings.NumberInput.type
    Definition Classes
    Bindings
  11. val PasswordInput: udash.bindings.PasswordInput.type
    Definition Classes
    Bindings
  12. val Property: udash.properties.single.Property.type
    Definition Classes
    Properties
  13. val RadioButtons: udash.bindings.RadioButtons.type
    Definition Classes
    Bindings
  14. val Select: udash.bindings.Select.type
    Definition Classes
    Bindings
  15. val SeqProperty: udash.properties.seq.SeqProperty.type
    Definition Classes
    Properties
  16. val TextArea: udash.bindings.TextArea.type
    Definition Classes
    Bindings
  17. val TextInput: udash.bindings.TextInput.type
    Definition Classes
    Bindings
  18. val Url: udash.core.Url.type
  19. val Valid: udash.properties.Valid.type
    Definition Classes
    Properties
  20. val Window: udash.core.Window.type
  21. implicit val allowDomElementTpe: ImmutableValue[Element]
    Definition Classes
    Properties
  22. implicit val allowFileTpe: ImmutableValue[File]
    Definition Classes
    Bindings
  23. implicit val allowJavaDateTpe: ImmutableValue[Date]
    Definition Classes
    Properties
  24. def bind[T](property: udash.properties.single.ReadableProperty[T]): SimplePropertyModifier[T]

    Use it to bind value of property into DOM structure.

    Use it to bind value of property into DOM structure. Value of the property will be rendered as text node. (Using .toString method.) If property value is null, empty text node will be added.

    property

    Property to bind.

    returns

    Modifier for bound property.

    Definition Classes
    Bindings
  25. def emptyStringNode(): Element

    Creates empty text node, which is useful as placeholder.

    Creates empty text node, which is useful as placeholder.

    Definition Classes
    Bindings
  26. def produce[T, E <: udash.properties.single.ReadableProperty[T]](property: udash.properties.seq.ReadableSeqProperty[T, E], initBuilder: (Seq[E]) ⇒ Seq[Element], elementsUpdater: (udash.properties.seq.Patch[E], Seq[Element]) ⇒ Any): SeqAsValuePatchingModifier[T, E]

    Use it to bind sequence property into DOM structure, given initBuilder will be used to generate DOM element at start.

    Use it to bind sequence property into DOM structure, given initBuilder will be used to generate DOM element at start. Then it listens to structure change and calls elementsUpdater to handle each structure change.
    Note: This will handle only structure changes, if you want to handle concrete subproperties value changes, you should use another binding method inside initBuilder and elementsUpdater.

    property

    Property to bind.

    initBuilder

    Element builder which will be used to create initial HTML element.

    elementsUpdater

    Function used to update element basing on patch.

    returns

    Modifier for bounded property.

    Definition Classes
    Bindings
  27. def produce[T](property: udash.properties.seq.ReadableSeqProperty[T, _ <: udash.properties.single.ReadableProperty[T]])(builder: (Seq[T]) ⇒ Seq[Element]): SeqAsValueModifier[T]

    Use it to bind sequence property into DOM structure, given builder will be used to generate DOM element on every value change.

    Use it to bind sequence property into DOM structure, given builder will be used to generate DOM element on every value change. Notice that on every property change, whole element representing property will be rendered again.

    property

    Property to bind.

    builder

    Element builder which will be used to create HTML element. Seq passed to the builder can not be null.

    returns

    Modifier for bounded property.

    Definition Classes
    Bindings
  28. def produce[T](property: udash.properties.single.ReadableProperty[T], checkNull: Boolean)(builder: (T) ⇒ Seq[Element]): PropertyModifier[T]

    Use it to bind property into DOM structure, given builder will be used to generate DOM element on every value change.

    Use it to bind property into DOM structure, given builder will be used to generate DOM element on every value change.

    property

    Property to bind.

    checkNull

    If it is true, then null value of property will result in rendering empty text node. If it is false, then null value has to be handled by builder.

    builder

    Element builder which will be used to create HTML element.

    returns

    Modifier for bounded property.

    Definition Classes
    Bindings
  29. def produce[T](property: udash.properties.single.ReadableProperty[T])(builder: (T) ⇒ Seq[Element]): PropertyModifier[T]

    Use it to bind property into DOM structure, given builder will be used to generate DOM element on every value change.

    Use it to bind property into DOM structure, given builder will be used to generate DOM element on every value change. If property value is null, empty text node will be added as placeholder.

    property

    Property to bind.

    builder

    Element builder which will be used to create HTML element.

    returns

    Modifier for bounded property.

    Definition Classes
    Bindings
  30. def repeat[T, E <: udash.properties.single.ReadableProperty[T]](property: udash.properties.seq.ReadableSeqProperty[T, E])(builder: (E) ⇒ Seq[Element]): SeqPropertyModifier[T, E]

    Use it to bind sequence property into DOM structure.

    Use it to bind sequence property into DOM structure. This method cares about adding new elements which appears in sequence and also removes those which were removed. You only need to provide builder which is used to create HTML element for each sequence member.
    Note: This will handle only structure changes, if you want to handle concrete subproperties changes, you should use another binding method inside builder.

    property

    Property to bind.

    builder

    Builder which is used for every element.

    returns

    Modifier for repeat logic.

    Definition Classes
    Bindings
  31. implicit def seqFromElement(el: Element): Seq[Element]
    Definition Classes
    Bindings
  32. def showIf(property: udash.properties.single.ReadableProperty[Boolean])(elements: Seq[Element]): PropertyModifier[Boolean]

    Shows provided DOM elements only if property value is true.

    Shows provided DOM elements only if property value is true.

    property

    Property to check.

    elements

    Elements to show if property value is true.

    returns

    Modifier for bounded property.

    Definition Classes
    Bindings
  33. implicit def toAttrOps(attr: Attr): AttrOps
    Definition Classes
    Bindings
  34. implicit def toAttrPairOps(attr: AttrPair[Element, _]): AttrPairOps
    Definition Classes
    Bindings
  35. implicit def toPropertyOps[T](property: udash.properties.single.ReadableProperty[T]): PropertyOps[T]
    Definition Classes
    Bindings
  36. def valid[A](property: udash.properties.single.ReadableProperty[A])(completeBuilder: (ValidationResult) ⇒ Seq[Element], progressBuilder: (Future[ValidationResult]) ⇒ Seq[Element] = null, errorBuilder: (Throwable) ⇒ Seq[Element] = null)(implicit ec: ExecutionContext): ValidationValueModifier[A]

    Use in order to add validation logic over property.

    Use in order to add validation logic over property. As this modifier listens on property validation results, user is able to customize what HTML elements should be shown.

    property

    Property to bind.

    completeBuilder

    Builder which is called when validation process is completed. It will give an access to validation results.

    progressBuilder

    Builder which is called when validation process is started. It will also give you an access to future of validation results.

    errorBuilder

    Builder which is called, when validation process fails.

    returns

    Modifier for validation logic.

    Definition Classes
    Bindings

Deprecated Value Members

  1. def bindAttribute[T](property: udash.properties.single.ReadableProperty[T])(updater: (T, Element) ⇒ Any): AttrModifier[T]

    Use it to update DOM elements, on every property change.

    Use it to update DOM elements, on every property change.

    property

    Property to listen.

    updater

    Element attribute updater.

    returns

    Modifier for bounded property.

    Definition Classes
    Bindings
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) Use Attr.bind, AttrPair.attrIf or Property.reactiveApply instead.

  2. def bindValidation[A](property: udash.properties.single.ReadableProperty[A], initBuilder: (Future[ValidationResult]) ⇒ Seq[Element], completeBuilder: (ValidationResult) ⇒ Seq[Element], errorBuilder: (Throwable) ⇒ Seq[Element])(implicit ec: ExecutionContext): ValidationValueModifier[A]

    Use in order to add validation logic over property.

    Use in order to add validation logic over property. As this modifier listens on property validation results, user is able to customize what HTML elements should be shown.

    property

    Property to bind.

    initBuilder

    Builder which is called when validation process is started. It will also give you an access to future of validation results.

    completeBuilder

    Builder which is called when validation process is completed. It will give an access to validation results.

    errorBuilder

    Builder which is called, when validation process fails.

    returns

    Modifier for validation logic.

    Definition Classes
    Bindings
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) Use valid instead.

Inherited from Routing

Inherited from Properties

Inherited from Bindings

Inherited from AnyRef

Inherited from Any

Ungrouped