SurfaceBootstrap.NavBar.Collapse (surface_bootstrap v0.2.5)

Collapsible navbar

Properties

  • id :string, required: true - Id, required for collapsing to work.
  • scrollable :boolean - Should navbar be scrollable in collapsed state? See: https://getbootstrap.com/docs/5.0/components/navbar/?#scrolling .
  • class :css_class, default: [] - Classes to propagate to the collapsing div..
  • aria_label :string - Aria label for button.

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.