events.trigger.js 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. Lungo.Events.init({
  2. 'load section#layoutevents': App.triggerCapture,
  3. 'unload section#layoutevents': App.triggerCapture
  4. });
  5. Lungo.ready(function() {
  6. // Lungo.View.Aside.show('features');
  7. App.environment();
  8. // Lungo.Router.section("notification");
  9. // Lungo.Notification.show();
  10. // Lungo.Notification.show("Please wait", "user", 2, function(){ alert(1); });
  11. // Lungo.Notification.error('Lorem ipsum dolor sit amet, consectetur adipisicing.', "tap to continue", 'cancel');
  12. // Lungo.Notification.success('Lorem ipsum dolor sit amet, consectetur adipisicing.', "tap to continue", 'cancel', 2, function(){alert(1)});
  13. // Lungo.Notification.confirm({
  14. // icon: 'user',
  15. // title: 'Lorem ipsum dolor sit amet, consectetur adipisicing.',
  16. // description: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nemo amet nulla dolorum hic eum debitis dolorem expedita? Commodi molestiae tempora totam explicabo sed deserunt cum iusto eos perspiciatis ea in.',
  17. // accept: {
  18. // icon: 'checkmark',
  19. // label: 'Accept',
  20. // callback: function(){ alert("Yes!"); }
  21. // },
  22. // cancel: {
  23. // icon: 'close',
  24. // label: 'Cancel',
  25. // callback: function(){ alert("No!"); }
  26. // }
  27. // });
  28. });