Snap.js icon indicating copy to clipboard operation
Snap.js copied to clipboard

Different widths for different sides.

Open cevatkerim opened this issue 11 years ago • 3 comments

Is it possible to add support for different width panel support? Left panel reveals normal whereas the right panel only opens 100 px or something like that...

cevatkerim avatar Oct 03 '13 01:10 cevatkerim

I would like that too! :+1:

rafaelfaria avatar Aug 13 '14 02:08 rafaelfaria

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 pane
});

prud avatar Aug 21 '14 12:08 prud

一一

— Sent from Mailbox for iPad

On Thu, Aug 21, 2014 at 8:47 PM, Patrick Rudolph [email protected] wrote:

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 pane

});

Reply to this email directly or view it on GitHub: https://github.com/jakiestfu/Snap.js/issues/129#issuecomment-52914583

dylansong avatar Aug 21 '14 21:08 dylansong