How to use the ember-animated/motions/opacity function in ember-animated

To help you get started, we’ve selected a few ember-animated examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ember-animation / ember-animated / tests / dummy / app / controllers / demos / modal.js View on Github external
insertedSprites.concat(receivedSprites).forEach(sprite => {
      sprite.applyStyles({ 'pointer-events': '' });

      // this animates them to their natural opacity, which is determined by our
      // stylesheet.
      opacity(sprite);
    });
github ember-animation / ember-animated / tests / dummy / app / components / swap-nested.js View on Github external
receivedSprites.forEach(sprite => {
        opacity(sprite, { from: 0, to: 1, duration: duration * 0.2 });
      });
    }
github ember-animation / ember-animated / tests / dummy / app / controllers / demos / orphan.js View on Github external
    insertedSprites.forEach(s => opacity(s, { from: 0 }));
    receivedSprites.forEach(s => opacity(s));
github ember-animation / ember-animated / tests / dummy / app / controllers / demos / hero / detail.js View on Github external
removedSprites.forEach(sprite => {
      sprite.endTranslatedBy(0, 0);
      continuePrior(sprite);
      opacity(sprite, { to: 0 });
    });
  },
github cardstack / portfolio / packages / common / addon / components / moving-box.js View on Github external
receivedSprites.forEach(sprite => {
        opacity(sprite, { from: 0, to: 1, duration: duration * 0.2 });
      });
    }
github ember-animation / ember-animated / docs / app / pods / docs / between / detail / controller.js View on Github external
removedSprites.forEach(sprite => {
      sprite.endTranslatedBy(0, 0);
      continuePrior(sprite);
      opacity(sprite, { to: 0 });
    });
  }
github ember-animation / ember-animated / addon / transitions / fade.js View on Github external
insertedSprites.concat(keptSprites).map(s =>
    opacity(s, {
      to: 1,
      duration: duration / 2,
    }),
  );
github ember-animation / ember-animated / docs / app / pods / docs / between / index / controller.js View on Github external
insertedSprites.forEach(sprite => {
      opacity(sprite, { from: 0, to: 1 });
    });