SurfaceBootstrap.Container (surface_bootstrap v0.2.5)
A container class, lets you set breakpoints to adjust to mobile views etc.
https://getbootstrap.com/docs/5.0/layout/containers/
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. .
- class :css_class, default: [] - Css classes to propagate down to button group..
- breakpoint :string, values: ~w(normal small medium large xl xxl fluid) - Container breakpoint, look at documentation from moduledoc for explanations. Unknown value or no value set defaults to 'normal' which translates to no breakpoint modifier (plain class "container"). .
Slots
- default
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.
Callback implementation for Phoenix.LiveComponent.update/2
.
Link to this section Functions
Link to this function
mount(socket)
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
.