Fork me on GitHub

jQuery.offcanvas

Basic Demo

Basic functionality with default options.

var $el = $(".nav").offcanvas();

$(".js-toggle-offcanvas").on("click.offcanvas", function() {
    $el.offcanvas("toggle");
});

Basic Advanced