Web Component: j-Breadcrumb
j-Breadcrumb
- jComponent
v19|v20
Configuration:
icon
{String}
home icon (default:ti ti-home
)exec
{String}
path to the methodfunction(url, el)
for manual processing of linkshistoryapi
{Boolean}
enables redirecting viaREDIRECT()
(defaulttrue
)style
{Number}
supports two styles1
classic (default),2
with bigger padding and only with bottom borderroot
{String}
a label for root item (default:Root
)rooturl
{String}
a relative URL address for root item (default:/
)title
{String}
enables generatingdocument.title
from the last item of the breadcrumb (default:null
)- NEW:
arrowicon
{String}
arrow icon (default:ti ti-angle-right
)
Data-source example
[
{
name: 'Home', // A link label
url: '/' // URL address
callback: Function(el, e) // Optional, a callback for the click event
},
{
name: 'Products', // A link label
url: '/' // URL address
}
];
Methods
component.add(name1, url1, [callback])(name2, url2)(name3, url3)...
component.root()
it resets a breadcrumb
Author
- Peter Širka petersirka@gmail.com
- License
Created
12. march 2021
Updated
16. august 2024
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com