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", data: { view: "info" } },
            { text: "Contact", icon: "email", data: { view: "info" } }
        ],
        select: function (ev) {
            alert(ev.data.view);
        }
    });
</script>
In this article
Not finding the help you need? Improve this article