SurfaceBootstrap.ButtonGroup (surface_bootstrap v0.2.5)

Group of buttons.

Can contain

  • Button components
  • Link Components
  • <input> of type checkbox and radio

https://getbootstrap.com/docs/5.0/components/button-group/

Properties

  • aria_disabled :boolean - Aria disabled, is set to true automatically if component has 'disabled' prop and it is true. .
  • aria_label :string - Aria label, automatically set to label, if prop exists. Explicitly set to nil if this behaviour is unwanted. .
  • aria_hidden :boolean - Aria hidden, automatically set to true if 'inivisble' prop is set. .
  • vertical :boolean - Vertical button group.
  • class :css_class, default: [] - Css classes to propagate down to button group..

Slots

  • default

Link to this section Summary

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Link to this function

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.