Patrick Rudolph

Results 9 comments of Patrick Rudolph

I submitted a pull request earlier today that makes it possible to use a DOM element as maxPosition and always take its current width, which should work for your use...

In case you're using jQuery, you could do something like this when initializing your snapper: ``` var snapper = new Snap({ element: $('#content'), maxPosition: $('#drawer').width(), }); ``` This will probably...

Another suggestion for a reveal mode would be a different kind of 'Reveal', lets say 'DynamicReveal, which slightly translates the background drawer on the x-axis while dragging. Its used on...

Like I said, just an idea I was playing around with and not very important after all. Stay focused on the performance stuff and keep this for future reference or...

Could you try to set "addBodyClasses: false" in the options and see if this might give you a performance boost during dragging? - sent via Hojoki

@jakiestfu any ETA on that? I could actually do with just the performance boosts and keep the slide modes for later, hehe ;)

Might be related to #73

This is already implemented and mentioned in the documentation: ``` var snapper = new Snap({ element: document.getElementById('content'), // change to your element minPosition: 100, // maximum size of the right...