/gbSideBar

Side Navigational Drawer

Primary LanguageJavaScriptMIT LicenseMIT

gbSideBar

Responsive Side Navigational Drawer by Jake @ GameBench Ltd. MIT License Applies

Developed as a Bower Component

Arguments:

Open - (Boolean) Sets drawer to initialise opened or closed: $.gbDrawer(true/false);

To initialise:

Elements:

Drawer Element Drawer Toggle Element

Example:


<div toggle="drawer123">
<div>
  <div id="drawer123">
    <ul>
      <li>Line 1</li>
      <li>Line 2</li>
    </ul>
  </div>
  
  <div id="content">
  </div>
</div>

<script>
$('#drawer').gbDrawer();
</script>