Breadcrumb

less than 1 minute read

Documentation

Web Component

// Return the breadcrumb properties return { items: [ { "text": "Root", "href": "/" }, { "text": "Web 1", "href": "/web" }, { "text": "Web 1-1", "href": "/web/1"} ] }
<script type="text/javascript" src="https://unpkg.com/gd-sprest-bs-wc/wc/dist/gd-sprest-bs.js"></script>
<bs-breadcrumb>
    // Return the breadcrumb properties
    return {
        items: [
            { "text": "Root", "href": "/" }, 
            { "text": "Web 1", "href": "/web" }, 
            { "text": "Web 1-1", "href": "/web/1"}
        ]
    }
</bs-breadcrumb>