@skyux/animations
Version:
This library was generated with [Nx](https://nx.dev).
42 lines (37 loc) • 1.03 kB
JavaScript
import { trigger, state, transition, style, animate } from '@angular/animations';
const skyAnimationEmerge = trigger('skyAnimationEmerge', [
state('open', style({
opacity: 1,
transform: 'scale(1)',
})),
state('closed', style({
opacity: 0,
transform: 'scale(0.0)',
})),
transition('void => *', [
style({
opacity: 0,
transform: 'scale(0.0)',
}),
animate('300ms ease-in-out'),
]),
transition(`* <=> *`, animate('300ms ease-in-out')),
]);
const skyAnimationSlide = trigger('skyAnimationSlide', [
state('down', style({
overflow: 'visible',
visibility: 'visible',
height: '*',
})),
state('up', style({
overflow: 'hidden',
visibility: 'hidden',
height: 0,
})),
transition('up <=> down', animate('150ms ease-in')),
]);
/**
* Generated bundle index. Do not edit.
*/
export { skyAnimationEmerge, skyAnimationSlide };
//# sourceMappingURL=skyux-animations.mjs.map