LiveAntd.Components.Breadcrumb (live_antd v0.1.0)
A breadcrumb displays the current location within a hierarchy. It allows going back to states higher up in the hierarchy.
API
Breadcrumb
- [ ]
itemRender
: Custom item renderer - [ ]
params
: Routing parameters - [x]
routes
: The routing stack information of router - [x]
separator
: Custom separator
Breadcrumb.Item
- [ ]
dropdownProps
: The dropdown props Dropdown - - [ ]
href
: Target of hyperlink string - - [ ]
overlay
: The dropdown menu - [ ]
onClick
: Set the handler to handle click event
Breadcrumb.Separator
- [ ]
children
: Custom separator
Example
routes = [%{path: "", breadcrumb_name: ""}, %{}, %{}] <Breadcrumb routes={routes} />
Properties
- routes :list, required: true
- separator :string, default: "/"
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.
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
.