events.js 704 B

123456789101112131415161718192021222324252627282930
  1. App.Events = (function(lng, undefined) {
  2. lng.ready(function() {
  3. setTimeout(function() {
  4. lng.View.Element.progress('#progress-normal', 50, true, 'yeah');
  5. lng.View.Element.progress('#progress-big', 75, true, 'yeah');
  6. lng.View.Element.loading('#loading-code', 'white');
  7. }, 1000);
  8. });
  9. //SPECIAL
  10. $$('section#navigation').on('load', function(event) {
  11. console.error('Load #navigation', event);
  12. });
  13. $$('section#navigation').on('unload', function(event) {
  14. console.error('Unload', event);
  15. });
  16. $$('article#authors').on('load', function(event) {
  17. console.error('loaded article');
  18. });
  19. })(LUNGO);