Sha256: 5614702780c351e2fc4843399b9c0343f7bb35cb7ad9535efd62658a3336d606

Contents?: true

Size: 241 Bytes

Versions: 7

Compression:

Stored size: 241 Bytes

Contents

pw.component.register('loader', function (view) {
  this.listen('socket:loading', function () {
    view.node.classList.add('ui-show');
  });

  this.listen('socket:loaded', function () {
    view.node.classList.remove('ui-show');
  });
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pakyow-0.11.3 lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.js
pakyow-0.11.2 lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.js
pakyow-0.11.1 lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.js
pakyow-0.11.0 lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.js
pakyow-0.10.2 lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.js
pakyow-0.10.1 lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.js
pakyow-0.10.0 lib/generators/pakyow/app/templates/public/scripts/ring/components/loader.js