You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 6, 2019. It is now read-only.
I'm attaching the livequery in the following manner
$('body').livequery( '.clasname', function(){
console.info('Created in DOM');
console.log(arguments);
Sidekick.Events.trigger('expireWaitFor');
},function(){
console.info('Removed from DOM');
console.log(arguments);
});
then when an element is found I trigger the expire event as
$('body').expire( '.clasname' );
I run a test after wards and I continue to get logs firing whenever I add the class classname to anything within the body or take them out... so it seems that I'm not using the expire function properly...
I'm attaching the livequery in the following manner
$('body').livequery( '.clasname', function(){
console.info('Created in DOM');
console.log(arguments);
Sidekick.Events.trigger('expireWaitFor');
},function(){
console.info('Removed from DOM');
console.log(arguments);
});
then when an element is found I trigger the expire event as
$('body').expire( '.clasname' );
I run a test after wards and I continue to get logs firing whenever I add the class classname to anything within the body or take them out... so it seems that I'm not using the expire function properly...