enable

Toggles item's enabled state.

Parameters

element HTMLElement|jQuery (required)

Specifies an existing item element in the BottomNavigation.

state Boolean (optional)

Specifies the state of the element.

Example

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

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

    bottomNav.enable($("#home"), true);
</script>
In this article
Not finding the help you need? Improve this article