Slidebars icon indicating copy to clipboard operation
Slidebars copied to clipboard

close function open popup on Meteor

Open ghost opened this issue 9 years ago • 2 comments

Hi,

When you use

$.slidebars.close('right');

with Meteor framework, it opens a popup with the url /right, only with close function, not toggle.

Why it does that ? Thanks by advance.

ghost avatar Sep 10 '15 16:09 ghost

Hi,

Are you using 0.10.3 or the new 2.0 beta?

The .close() method doesn't accept any parameters in 0.10.3. Since only one Slidebar can be open at any one time, the close method will just close whichever is open.

I hope that helps :)

Thanks,

Adam

adchsm avatar Sep 10 '15 16:09 adchsm

Okay, it works, thanks !

So, isn't possible to add a callback to close function ?

ghost avatar Sep 10 '15 17:09 ghost