jakiestfu / Snap.js

A Library for creating beautiful mobile shelfs in Javascript (Facebook and Path style side menus)
http://jakiestfu.github.io/Snap.js/
5.99k stars 663 forks source link

add `openImmediately` method to skip animation #155

Closed troygoode closed 5 years ago

troygoode commented 10 years ago

In our app we want to have the drawer open by default (and disabled) when accessing the app from the desktop. Unfortunately there is currently no way to disable the open animation, so this pull request add that.

jakiestfu commented 10 years ago

A similar feature will be available in the v2.0 API of Snap.js, thanks!

troygoode commented 10 years ago

any updates on this?