By karray gargouri
21 Jul 2014 01:57
English
2 Replies
Hello,
As my subject title said, I would like to know what does this code do (into the SAGalleryConsumer sample):
(function(ui) {
var closePopup = ui.closePopup.bind(ui);
var toastPopup = document.getElementById('popupToast');
toastPopup.addEventListener('popupshow', function(ev){
setTimeout(closePopup, 3000);
}, false);
})(window.gear.ui);
Thank you in advance!
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------