itemById

Get item's element by id (can be set via items.attributes).

Parameters

id String (required)

The id of the item.

Returns

jQuery the found item at the specified index.

Example

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

<script>
    var bottomNav = $("#bottomnav").kendoBottomNavigation({
        items: [
            { text: "Home", icon: "home", enabled: false, attr: { id: "home" } },
            { text: "Info", icon: "info-circle" },
            { text: "Contact", icon: "envelope" }
        ]
    }).data("kendoBottomNavigation");

    var home = bottomNav.itemById("home");
    bottomNav.enable(home, true);
</script>
In this article