click

Fires when an item or a rootitem is clicked.

Event Data

e.originalEvent Object

The original DOM event.

e.sender kendo.ui.Breadcrumb

The Breadcrumb instance that triggered the event.

e.isRoot Boolean

Indicates if the event is triggered from the rootitem.

e.item Object

The item representation of the clicked instance.

e.preventDefault Function

If invoked prevents the click action.

Example - subscribe to the "click" event during initialization

<nav id="breadcrumb"></nav>

<script>
    $("#breadcrumb").kendoBreadcrumb({
        value: 'Telerik UI/Navigation/Breadcrumb',
        click: function(e) {
            console.log(e.sender);
        }
    });

</script>

Example - subscribe to the "click" event after initialization

<nav id="breadcrumb"></nav>

<script>
    var breadcrumb = $("#breadcrumb").kendoBreadcrumb({
        value: 'Telerik UI/Navigation/Breadcrumb'
    }).getKendoBreadcrumb();

    breadcrumb.bind('click', function(e) {
        console.log(e.sender);
    });
</script>
In this article
Not finding the help you need? Improve this article