How to use the ember-animated/motions/opacity.fadeOut 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 ef4 / living-animation / src / ui / routes / mascots / controller.js View on Github external
    yield Promise.all(removedSprites.map(sprite => fadeOut(sprite, { duration: 200 })));
github cardstack / cardstack / packages / core / addon / components / drop-zone.js View on Github external
removedSprites.forEach(sprite => {
      fadeOut(sprite, { duration });
    });
  }
github ef4 / living-animation / src / ui / components / definition-slide / component.js View on Github external
    removedSprites.forEach(sprite => fadeOut(sprite, { duration: duration / 2 }));
  }
github ember-animation / ember-animated / docs / app / pods / index / demo-2 / component.js View on Github external
*separateTransition({ insertedSprites, removedSprites, keptSprites }) {
    for (let sprite of insertedSprites) {
      sprite.startTranslatedBy(0, -sprite.finalBounds.height);
      move(sprite);
    }

    for (let sprite of keptSprites) {
      move(sprite);
    }

    for (let sprite of removedSprites) {
      fadeOut(sprite);
    }
  },