This feature is currently not supported by Foundation, but there is a simple solution using jQuery Mobile. Note that this example is for a single off-canvas to the left.
First, be sure to include jQuery and JQM:
jQuery: http://jquery.com/
jQuery Mobile: http://jquerymobile.com/
Then add the following:
$( document ).on( "swipeleft swiperight", function( e ) {
if ( $.mobile.activePage.jqmData( "panel" ) !== "open" ) {
if ( e.type === "swipeleft" ) {
$('.off-canvas-wrap').removeClass('move-right');
} else if ( e.type === "swiperight" ) {
$('.off-canvas-wrap').addClass('move-right');
}
}
});
Just thought I'd share since I couldn't find any solutions!