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-circle" },
            { text: "Contact", icon: "envelope" }
        ]
    }).data("kendoBottomNavigation");

    bottomNav.enable($("#home"), true);
</script>
In this article