Breadcrumbs

(part of package 'Bootstrap Extra Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent

This is a reference page; many components have detailed usage guides here.

Properties

autoRemoveWhenClicked

Type: Boolean Default Value: true


Type: Array<CustomType<bootstrapextracomponents-breadcrumbs.crumb>>


crumbStyleClass

Type: Styleclass


lastCrumbStyleClass

Type: Styleclass


location

Type: Point


styleClass

Type: Styleclass


visible

Type: Visible


Events

onCrumbClicked(event,crumb,index)

Called whenever a breadcrumb item is clicked with the JSEvent and the item clicked on

Parameters:


API

addCrumb(crumb)

Adds a crumb at the end

Parameters:


removeCrumbsAfter(index)

Removes all crumbs after the given index

Parameters:

  • {Number} index The 0-based index after which all breadcrumbs will be removed.


removeLastCrumb()

Removes the last crumb


setCrumbs(crumbs)

Sets all crumbs

Parameters:

  • {Array<crumb>} crumbs An array of breadcrumb objects to set as the entire breadcrumb trail.


Types

crumb

scripting type: CustomType<bootstrapextracomponents-breadcrumbs.crumb>


Last updated

Was this helpful?