Object/Class

io.udash.bootstrap.form

UdashForm

Related Docs: class UdashForm | package form

Permalink

object UdashForm

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UdashForm
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(componentId: ComponentId, content: scalatags.JsDom.all.Modifier*): UdashForm

    Permalink

    Creates standard form with provided content.

    Creates standard form with provided content.
    Example: UdashForm(UdashForm.textInput()("User name")(user.subProp(_.name))).render
    More: Bootstrap Docs.

    componentId

    Id of the root DOM node.

    content

    Form content

    returns

    UdashForm component, call render to create DOM element.

  5. def apply(content: scalatags.JsDom.all.Modifier*): UdashForm

    Permalink

    Creates standard form with provided content.

    Creates standard form with provided content.
    Example: UdashForm(UdashForm.textInput()("User name")(user.subProp(_.name))).render
    More: Bootstrap Docs.

    content

    Form content

    returns

    UdashForm component, call render to create DOM element.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def checkbox(validation: Option[scalatags.JsDom.all.Modifier] = None)(labelContent: scalatags.JsDom.all.Modifier*)(property: udash.Property[Boolean], input: scalatags.JsDom.all.Modifier*): scalatags.JsDom.all.Modifier

    Permalink

    Creates checkbox.

  8. def checkboxes(checkboxStyle: BootstrapClass = BootstrapStyles.Form.checkbox)(selected: udash.SeqProperty[String], options: Seq[String], decorator: (Input, String) ⇒ Element = defaultDecorator(checkboxStyle)): scalatags.JsDom.all.Modifier

    Permalink

    Creates checkboxes for provided elements.

    Creates checkboxes for provided elements. selected property contains values from selected checkboxes.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def disabled(disabled: udash.Property[Boolean] = Property(true))(content: scalatags.JsDom.all.Modifier*): scalatags.JsDom.all.Modifier

    Permalink

    Wrapper for disabled elements.

    Wrapper for disabled elements.

    disabled

    Property indicating if elements are disabled. You can change it anytime.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def group(content: scalatags.JsDom.all.Modifier*): scalatags.JsDom.all.Modifier

    Permalink

    Creates from group with provided content.

    Creates from group with provided content. You can put it into UdashForm.
    Example: UdashForm(UdashForm.group(...)).render

  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def horizontal(componentId: ComponentId, content: scalatags.JsDom.all.Modifier*): UdashForm

    Permalink

    Creates horizontal form with provided content.

    Creates horizontal form with provided content.
    Example: UdashForm.horizontal(UdashForm.textInput()("User name")(user.subProp(_.name))).render
    More: Bootstrap Docs.

    componentId

    Id of the root DOM node.

    content

    Form content

    returns

    UdashForm component, call render to create DOM element.

  18. def horizontal(content: scalatags.JsDom.all.Modifier*): UdashForm

    Permalink

    Creates horizontal form with provided content.

    Creates horizontal form with provided content.
    Example: UdashForm.horizontal(UdashForm.textInput()("User name")(user.subProp(_.name))).render
    More: Bootstrap Docs.

    content

    Form content

    returns

    UdashForm component, call render to create DOM element.

  19. def inline(componentId: ComponentId, content: scalatags.JsDom.all.Modifier*): UdashForm

    Permalink

    Creates inline form with provided content.

    Creates inline form with provided content.
    Example: UdashForm.inline(UdashForm.textInput()("User name")(user.subProp(_.name))).render
    More: Bootstrap Docs.

    componentId

    Id of the root DOM node.

    content

    Form content

    returns

    UdashForm component, call render to create DOM element.

  20. def inline(content: scalatags.JsDom.all.Modifier*): UdashForm

    Permalink

    Creates inline form with provided content.

    Creates inline form with provided content.
    Example: UdashForm.inline(UdashForm.textInput()("User name")(user.subProp(_.name))).render
    More: Bootstrap Docs.

    content

    Form content

    returns

    UdashForm component, call render to create DOM element.

  21. def input(el: Element): Element

    Permalink

    Wrapper for inputs in form.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def multiselect(selected: udash.SeqProperty[String], options: Seq[String]): scalatags.JsDom.all.Modifier

    Permalink

    Creates multiple selection input for provided options.

    Creates multiple selection input for provided options. selected property contains values of selected items.

  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def numberInput(inputId: ComponentId = UdashBootstrap.newId(), validation: Option[scalatags.JsDom.all.Modifier] = None)(labelContent: scalatags.JsDom.all.Modifier*)(property: udash.Property[String], input: scalatags.JsDom.all.Modifier*): scalatags.JsDom.all.Modifier

    Permalink

    Creates number input group.

  28. def passwordInput(inputId: ComponentId = UdashBootstrap.newId(), validation: Option[scalatags.JsDom.all.Modifier] = None)(labelContent: scalatags.JsDom.all.Modifier*)(property: udash.Property[String], input: scalatags.JsDom.all.Modifier*): scalatags.JsDom.all.Modifier

    Permalink

    Creates password input group.

  29. def radio(radioStyle: BootstrapClass = BootstrapStyles.Form.radio)(selected: udash.Property[String], options: Seq[String], decorator: (Input, String) ⇒ Element = defaultDecorator(radioStyle)): scalatags.JsDom.all.Modifier

    Permalink

    Creates checkboxes for provided options.

    Creates checkboxes for provided options. selected property has the value of selected radio button.

  30. def select(selected: udash.Property[String], options: Seq[String]): scalatags.JsDom.all.Modifier

    Permalink

    Creates selection input for provided options.

    Creates selection input for provided options. selected property has the value of selected item.

  31. def staticControl(content: scalatags.JsDom.all.Modifier*): scalatags.JsDom.all.Modifier

    Permalink

    Creates static control element.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def textArea(inputId: ComponentId = UdashBootstrap.newId(), validation: Option[scalatags.JsDom.all.Modifier] = None)(labelContent: scalatags.JsDom.all.Modifier*)(property: udash.Property[String], input: scalatags.JsDom.all.Modifier*): scalatags.JsDom.all.Modifier

    Permalink

    Creates textarea input group.

  34. def textInput(inputId: ComponentId = UdashBootstrap.newId(), validation: Option[scalatags.JsDom.all.Modifier] = None)(labelContent: scalatags.JsDom.all.Modifier*)(property: udash.Property[String], input: scalatags.JsDom.all.Modifier*): scalatags.JsDom.all.Modifier

    Permalink

    Creates text input group.

  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def validation(property: udash.Property[_]): scalatags.JsDom.all.Modifier

    Permalink

    Binds provided property validation result to element Bootstrap validation style.

  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped