items.data Object

Contextual data to be used for events within the component.

Example

<nav id="bottomnav"></nav>

<script>
    $("#bottomnav").kendoBottomNavigation({
        items: [
            { text: "Home", icon: "home", data: { view: "home" } },
            { text: "Info", icon: "info-circle", data: { view: "info" } },
            { text: "Contact", icon: "envelope", data: { view: "info" } }
        ],
        select: function (ev) {
            alert(ev.data.view);
        }
    });
</script>
In this article