0.2.0 • Published 8 years ago

ng-page-slide v0.2.0

Weekly downloads
16
License
-
Repository
-
Last release
8 years ago

angular-page-slide

Build Status

The idea

A very simple and lightweight page slider which pushes the content. Since it uses the flex model, the content div will shrink and grow to fill the gap left by the menu.

How to use it

<div page-slide ps-side="left" ps-width="200px" ps-open="filterMenuOpen">
  <h1>Left page-slide</h1>
</div>

<div page-slide-content>
  <button class="btn btn-default" ng-click="filterMenuOpen = !filterMenuOpen">Toggle left</button>
  <button class="btn btn-default" ng-click="productDetailOpen = !productDetailOpen">Toggle right</button>
</div>

<div page-slide ps-side="right" ps-width="300px" ps-open="filterMenuOpen">
  <h1>Left page-slide</h1>
</div>
0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago