SurfaceBootstrap.NavBar.ItemGroup (surface_bootstrap v0.2.5)
ItemGroup is a wrapper element, mainly used to adjust items left, center or right.
Relies on content-justified classing to place things in the middle.
Relies on ms-auto (margin start auto) and me-auto (margin end auto) to push things left or right.
Properties
- type :string, default: "ul", values: ["ul", "div"] - What type is the wrapper?
Defaults to
<ul>
. - class :css_class, default: [] - Classes to propagate to the container ul/div..
- position :string, values: ["left", "right"] - Position content on navbar (works by adding margin on opposite side).
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
.