Object/Class

io.udash.bootstrap.button

UdashButtonGroup

Related Docs: class UdashButtonGroup | package button

Permalink

object UdashButtonGroup

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UdashButtonGroup
  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(size: udash.ReadableProperty[Option[Size]] = UdashBootstrap.None, vertical: udash.ReadableProperty[Boolean] = UdashBootstrap.False, justified: udash.ReadableProperty[Boolean] = UdashBootstrap.False, componentId: udash.ComponentId = ComponentId.newId())(buttons: Element*): UdashButtonGroup[Element, udash.Property[Element]]

    Permalink

    Creates a static buttons group.

    Creates a static buttons group. More: Bootstrap Docs.

    size

    A buttons group size. It shadows the size of each button.

    vertical

    If true, the buttons will be rendered vertically.

    justified

    If true, the buttons will be justified.

    componentId

    An id of the root DOM node.

    buttons

    Rendered buttons belonging to this group.

    returns

    A UdashButtonGroup component, call render to create a DOM element representing this group.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def checkboxes[ItemType, ElemType <: udash.ReadableProperty[ItemType]](selectedItems: udash.SeqProperty[ItemType], options: properties.seq.ReadableSeqProperty[ItemType, ElemType], size: udash.ReadableProperty[Option[Size]] = UdashBootstrap.None, vertical: udash.ReadableProperty[Boolean] = UdashBootstrap.False, justified: udash.ReadableProperty[Boolean] = UdashBootstrap.False, componentId: udash.ComponentId = ComponentId.newId())(btnFactory: (ElemType, udash.ReadableProperty[Boolean], NestedInterceptor) ⇒ UdashButton = ...): UdashButtonGroup[ItemType, ElemType]

    Permalink

    Creates a dynamic toggle buttons group.

    Creates a dynamic toggle buttons group. items sequence changes will be synchronized with the rendered button group. More: Bootstrap Docs.

    selectedItems

    Elements represented by the active buttons.

    options

    Data items which will be represented as buttons in this group.

    size

    A buttons group size. It shadows the size of each button.

    vertical

    If true, the buttons will be rendered vertically.

    justified

    If true, the buttons will be justified.

    componentId

    An id of the root DOM node.

    btnFactory

    It should create UdashButton instance based on provided item and active property. Don't forget to pass the second argument to created button as active arguemnt. The default implementation uses toString in order to create a button's content.

    returns

    A UdashButtonGroup component, call render to create a DOM element representing this group.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def radio[ItemType, ElemType <: udash.ReadableProperty[ItemType]](selectedItem: udash.Property[ItemType], options: properties.seq.ReadableSeqProperty[ItemType, ElemType], size: udash.ReadableProperty[Option[Size]] = UdashBootstrap.None, vertical: udash.ReadableProperty[Boolean] = UdashBootstrap.False, justified: udash.ReadableProperty[Boolean] = UdashBootstrap.False, componentId: udash.ComponentId = ComponentId.newId())(btnFactory: (ElemType, udash.ReadableProperty[Boolean], NestedInterceptor) ⇒ UdashButton = ...): UdashButtonGroup[ItemType, ElemType]

    Permalink

    Creates a dynamic radio buttons group.

    Creates a dynamic radio buttons group. items sequence changes will be synchronized with the rendered button group. More: Bootstrap Docs.

    selectedItem

    An element represented by the active buttons.

    options

    Data items which will be represented as buttons in this group.

    size

    A buttons group size. It shadows the size of each button.

    vertical

    If true, the buttons will be rendered vertically.

    justified

    If true, the buttons will be justified.

    componentId

    An id of the root DOM node.

    btnFactory

    It should create UdashButton instance based on provided item and active property. Don't forget to pass the second argument to created button as active arguemnt. The default implementation uses toString in order to create a button's content.

    returns

    A UdashButtonGroup component, call render to create a DOM element representing this group.

  18. def reactive[ItemType, ElemType <: udash.ReadableProperty[ItemType]](items: properties.seq.ReadableSeqProperty[ItemType, ElemType], size: udash.ReadableProperty[Option[Size]] = UdashBootstrap.None, vertical: udash.ReadableProperty[Boolean] = UdashBootstrap.False, justified: udash.ReadableProperty[Boolean] = UdashBootstrap.False, componentId: udash.ComponentId = ComponentId.newId())(itemFactory: (ElemType, NestedInterceptor) ⇒ Seq[Element]): UdashButtonGroup[ItemType, ElemType]

    Permalink

    Creates a dynamic button group.

    Creates a dynamic button group. items sequence changes will be synchronized with the rendered button group. More: Bootstrap Docs.

    ItemType

    A single element's type in the items sequence.

    ElemType

    A type of a property containing an element in the items sequence.

    items

    Data items which will be represented as the buttons in this group.

    size

    A buttons group size. It shadows the size of each button.

    vertical

    If true, the buttons will be rendered vertically.

    justified

    If true, the buttons will be justified.

    componentId

    An id of the root DOM node.

    itemFactory

    Creates a button based on an item from the items sequence. Use the provided interceptor to properly clean up bindings inside the content.

    returns

    A UdashButtonGroup component, call render to create a DOM element representing this group.

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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped