Package

io

udash

Permalink

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

    Permalink

    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.CastableProperty[A]

    Permalink
    Definition Classes
    Properties
  3. type CastableReadableProperty[A] = udash.properties.CastableReadableProperty[A]

    Permalink
    Definition Classes
    Properties
  4. type Component = udash.view.Component

    Permalink
  5. type DefaultViewPresenterFactory[S <: State] = udash.core.DefaultViewPresenterFactory[S]

    Permalink
  6. type EmptyPresenter[S <: State] = udash.core.EmptyPresenter[S]

    Permalink
  7. type ModelProperty[A] = udash.properties.ModelProperty[A]

    Permalink
    Definition Classes
    Properties
  8. implicit class ModifierExt extends AnyRef

    Permalink
    Definition Classes
    Bindings
  9. type Patch[+P <: ReadableProperty[_]] = udash.properties.Patch[P]

    Permalink
    Definition Classes
    Properties
  10. type Presenter[S <: State] = udash.core.Presenter[S]

    Permalink
  11. type Property[A] = udash.properties.Property[A]

    Permalink
    Definition Classes
    Properties
  12. type ReadableModelProperty[A] = udash.properties.ReadableModelProperty[A]

    Permalink
    Definition Classes
    Properties
  13. type ReadableProperty[A] = udash.properties.ReadableProperty[A]

    Permalink
    Definition Classes
    Properties
  14. type ReadableSeqProperty[A] = udash.properties.ReadableSeqProperty[A, _ <: ReadableProperty[A]]

    Permalink
    Definition Classes
    Properties
  15. type Registration = udash.utils.Registration

    Permalink
  16. type RoutingEngine[S <: udash.core.State] = udash.routing.RoutingEngine[S]

    Permalink
    Definition Classes
    Routing
  17. type RoutingRegistry[S <: State] = udash.core.RoutingRegistry[S]

    Permalink
  18. type SeqProperty[A] = udash.properties.SeqProperty[A, _ <: Property[A]]

    Permalink
    Definition Classes
    Properties
  19. type State = udash.core.State

    Permalink
  20. type StrictLogging = udash.utils.StrictLogging

    Permalink
  21. type Url = udash.core.Url

    Permalink
  22. type UrlChangeProvider = udash.routing.UrlChangeProvider

    Permalink
    Definition Classes
    Routing
  23. type ValidationResult = udash.properties.ValidationResult

    Permalink
    Definition Classes
    Properties
  24. type Validator[T] = udash.properties.Validator[T]

    Permalink
    Definition Classes
    Properties
  25. type View = udash.core.View

    Permalink
  26. type ViewPresenter[S <: State] = udash.core.ViewPresenter[S]

    Permalink
  27. type ViewPresenterRegistry[S <: State] = udash.core.ViewPresenterRegistry[S]

    Permalink
  28. type ViewRenderer = udash.view.ViewRenderer

    Permalink

Value Members

  1. val /:/: udash.routing./:/.type

    Permalink
    Definition Classes
    Routing
  2. val CallbackSequencer: udash.properties.CallbackSequencer.type

    Permalink
    Definition Classes
    Properties
  3. val CheckButtons: udash.bindings.CheckButtons.type

    Permalink
    Definition Classes
    Bindings
  4. val Checkbox: udash.bindings.Checkbox.type

    Permalink
    Definition Classes
    Bindings
  5. val Invalid: udash.properties.Invalid.type

    Permalink
    Definition Classes
    Properties
  6. val ModelProperty: udash.properties.ModelProperty.type

    Permalink
    Definition Classes
    Properties
  7. val NumberInput: udash.bindings.NumberInput.type

    Permalink
    Definition Classes
    Bindings
  8. val PasswordInput: udash.bindings.PasswordInput.type

    Permalink
    Definition Classes
    Bindings
  9. val Property: udash.properties.Property.type

    Permalink
    Definition Classes
    Properties
  10. val RadioButtons: udash.bindings.RadioButtons.type

    Permalink
    Definition Classes
    Bindings
  11. val Select: udash.bindings.Select.type

    Permalink
    Definition Classes
    Bindings
  12. val SeqProperty: udash.properties.SeqProperty.type

    Permalink
    Definition Classes
    Properties
  13. val TextArea: udash.bindings.TextArea.type

    Permalink
    Definition Classes
    Bindings
  14. val TextInput: udash.bindings.TextInput.type

    Permalink
    Definition Classes
    Bindings
  15. val Url: udash.core.Url.type

    Permalink
  16. val Valid: udash.properties.Valid.type

    Permalink
    Definition Classes
    Properties
  17. val Window: udash.core.Window.type

    Permalink
  18. def bind[T](property: udash.properties.ReadableProperty[T]): SimplePropertyModifier[T]

    Permalink

    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
  19. def bindAttribute[T](property: udash.properties.ReadableProperty[T])(updater: (T, Element) ⇒ Any): AttrModifier[T]

    Permalink

    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
  20. def bindValidation[A](property: udash.properties.ReadableProperty[A], initBuilder: (Future[udash.properties.ValidationResult]) ⇒ Element, completeBuilder: (udash.properties.ValidationResult) ⇒ Element, errorBuilder: (Throwable) ⇒ Element)(implicit ec: ExecutionContext): ValidationValueModifier[A]

    Permalink

    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
  21. package bindings

    Permalink
  22. package core

    Permalink
  23. def emptyStringNode(): Element

    Permalink

    Creates empty text node, which is useful as placeholder.

    Creates empty text node, which is useful as placeholder.

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

    Permalink

    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
  25. def produce[T](property: udash.properties.ReadableSeqProperty[T, _ <: udash.properties.ReadableProperty[T]])(builder: (Seq[T]) ⇒ Element): SeqAsValueModifier[T]

    Permalink

    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
  26. def produce[T](property: udash.properties.ReadableProperty[T], checkNull: Boolean)(builder: (T) ⇒ Element): PropertyModifier[T]

    Permalink

    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
  27. def produce[T](property: udash.properties.ReadableProperty[T])(builder: (T) ⇒ Element): PropertyModifier[T]

    Permalink

    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
  28. package properties

    Permalink
  29. def repeat[T, E <: udash.properties.ReadableProperty[T]](property: udash.properties.ReadableSeqProperty[T, E])(builder: (E) ⇒ Element): SeqPropertyModifier[T, E]

    Permalink

    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
  30. package routing

    Permalink
  31. package utils

    Permalink
  32. package view

    Permalink

Inherited from Routing

Inherited from Properties

Inherited from Bindings

Inherited from AnyRef

Inherited from Any

Ungrouped