-
$.stickr({message: 'I am simple default sticker'});
-
$.stickr({
message: 'I live only 5 seconds',
ttl: 5000
});
-
$.stickr({
message: 'I live 10 seconds and you cannot close me',
ttl: 10000,
withCloseButton: false
});
-
$.stickr({
message: 'I am pretty fady one',
classes: 'fady faded',
afterOpen: function($me) {
$me.removeClass('faded');
},
beforeClose: function($me) {
$me.addClass('faded');
},
closingDuration: 700 // same as transition-duration
}); // property in CSS styles
-
$.stickr({
message: 'We are stickers in another group',
group: 'another-stickrs',
maxCount: 6 // default is 5
});
-
$.stickr({
message: 'I am sticker in your custom container',
group: $('#my-stickrs')
});