Name | Type | Default | Description |
AddNewItem | bool | false | Enables or disables the "Add new item" (+) button. |
AllowDrag | bool | false | Enables or disables the dragging of breadcrumb items. |
AllowDrop | bool | false | Enables or disables the dropping of dragged breadcrumb items. |
CloseButtons | bool | false | Show/Hide the close button of breadcrumb items. |
DataSource | IEnumerable<object> | [] | Determines the data source to load breadcrumb items from. The Array should contain objects. Each object defines a single breadcrumb item. |
Disabled | bool | false | Enables or disables the Breadcrumb. |
ItemTemplate | object | N/A | Sets or gets the template of breadcrumb items. The value of this property can be the id of an HTMLTemplateElement or the HTMLTemplateElement itself. If set to null, no template is applied. |
Locale | string | "en" | Sets or gets the language. Used in conjunction with the property messages. |
Messages | object | N/A | Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. |
MinimizeWidth | int | N/A | Determines the minimum width of the Breadcrumb at which it will switch from normal to minimized mode. If set to null, the Breadcrumb does not minimize automatically. |
Unfocusable | bool | false | If is set to true, the element cannot be focused. |
Name | Type | Arguments | Description |
AddItem | void | object itemDetails | Adds an item.Args: object itemDetails - An Object with the fields "index", "label", and "value". |
GetDataSourceAsync() | Task<IEnumerable<object>> | 'N/A' | Gets the "DataSource" property as Task<IEnumerable<object>>. |
Maximize | void | N/A | Restores the Breadcrumb from minimized state back to normal. |
Minimize | void | N/A | Minimizes the Breadcrumb. |
Refresh | void | 'N/A' | Refreshes the Blazor Component. Performs a layout of the HTML Elements and recalculates the measurements. |
RemoveItem | void | object item | Removes an item.Args: object item - The item to remove. |
Render | void | 'N/A' | Re-renders the Blazor Component. This method will make a full re-render. |
StateHasChanged | void | 'N/A' | Refreshes the state and Re-renders the Blazor Component, if necessary. |
Name | Type | Description | Event Detail |
OnClose | EventCallback<Event> | This event is triggered when a Breadcrumb item is closed. | dynamic item- The item that has been closed. |
Closed | event BreadcrumbClosedEventHandler | This event is triggered when a Breadcrumb item is closed. | BreadcrumbClosedEventArgs |
OnClosing | EventCallback<Event> | This event is triggered when a Breadcrumb item is about to be closed. The closing operation can be canceled by calling <code>event.preventDefault()</code> in the event handler function. | dynamic item- The item that is going to be closed. |
Closing | event BreadcrumbClosingEventHandler | This event is triggered when a Breadcrumb item is about to be closed. The closing operation can be canceled by calling <code>event.preventDefault()</code> in the event handler function. | BreadcrumbClosingEventArgs |
OnDragEnd | EventCallback<Event> | This event is triggered when a Breadcrumb item is dropped. | N/A |
DragEnded | event BreadcrumbDragEndedEventHandler | This event is triggered when a Breadcrumb item is dropped. | BreadcrumbDragEndedEventArgs |
OnDragging | EventCallback<Event> | This event is triggered when a Breadcrumb item is being dragged. | dynamic item- The item that is being dragged., dynamic originalEvent- The original event that initiates the dragging operation., dynamic target- The original target. |
Dragging | event BreadcrumbDraggingEventHandler | This event is triggered when a Breadcrumb item is being dragged. | BreadcrumbDraggingEventArgs |
OnAddNewItem | EventCallback<Event> | This event is triggered when the "Add new item" (+) button is clicked. | N/A |
AddNewItemed | event BreadcrumbAddNewItemedEventHandler | This event is triggered when the "Add new item" (+) button is clicked. | BreadcrumbAddNewItemedEventArgs |