Skip to content

Instantly share code, notes, and snippets.

@nolimits4web
Created October 4, 2019 13:52
Show Gist options
  • Save nolimits4web/8be068f8d5ee171ebc4c42582eb2544d to your computer and use it in GitHub Desktop.
Save nolimits4web/8be068f8d5ee171ebc4c42582eb2544d to your computer and use it in GitHub Desktop.
<div id="app">
<!--
* new "panel-init" class to auto init the panel
* swipe and visibleBreakpoint passed as data- attributes
-->
<div class="panel panel-left panel-reveal panel-init" data-swipe="true" data-visible-breakpoint="768">
...
</div>
<div class="panel panel-right panel-cover panel-init" data-visible-breakpoint="1024">
...
</div>
</div>
<script>
var app = new Framework7({
// no any panel related params here
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment