<div id="crumbs" class="hx-crumbtrail">
<span class="hx-crumbtrail-node">First Node</span>
<span class="hx-crumbtrail-separator"><i class="fa fa-angle-right"></i></span>
<span class="hx-crumbtrail-node">Second Node</span>
<span class="hx-crumbtrail-separator"><i class="fa fa-angle-right"></i></span>
<span class="hx-crumbtrail-node">Third Node</span>
</div>
<div id="crumbs-2" class="hx-crumbtrail"></div>
new hx.Crumbtrail("#crumbs-2", {
renderer: function(element, datum) {
hx.select(element).text(datum)
},
items: ["First Node", "Second Node", "Third Node"],
separator: '>>>>'
})
crumbtrail = new hx.Crumbtrail("#crumbs-2");
renderer = function(element, data) {
hx.select(element).text(data);
}
crumbtrail.render(data, renderer);
crumbtrail = new hx.Crumbtrail("#crumbs-2");
renderer = function(element, data) {
hx.select(element).text(data);
}
crumbtrail.render(data, renderer);