-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Right now, Smallipop is called this way :
$('.myElement').smallipop({options});
It would be nice if it were possible to additionally call it this way
var mySmallipop = $('.myElement').smallipop({options}).init()
$('.myElement').on('click touch mouseenter', function() {
$('.myElement').smallipop().open();
//Or
mySmallipop.open();
});
And then :
$('.myCloseButton').on('click touch', function() {
$('.myElement').smallipop().close();
//Or
mySmallipop.close();
});
As well as a method to change the Smallipop instance's options while it's already initiated.
$('.myElement').smallipop().options({});
//Or
mySmallipop.options({options});
It would allow for much greater customization. While the current options allow for many things, this sort of capability would make possibilities nearly endless.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels