events.js 744 B

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