Edit this page

close

Closes the responsive panel.

Example

<header>
    <button class="k-rpanel-toggle"><span class="k-icon k-i-menu"></span></button>
    Logo
</header>

<nav id="navigation">
    <a href="#">Home</a>
    <a href="#">Products</a>
</nav>

<article>
    Content
</article>

<script>
    $("#navigation").kendoResponsivePanel({
        orientation: "top"
    });

    $("#navigation a").click(function(e) {
        e.preventDefault();

        alert("navigating to " + $(e.currentTarget).text());

        var panel = $("#navigation").data("kendoResponsivePanel");
        panel.close();
    });
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy