main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
587 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | exports.addon = function (renderer) {
|
---|
| 4 | if (process.env.NODE_ENV !== 'production') {
|
---|
| 5 | require('../__dev__/warnOnMissingDependencies')('animate', renderer, ['keyframes']);
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | renderer.put('', {
|
---|
| 9 | '@keyframes fadeInDown': {
|
---|
| 10 | from: {
|
---|
| 11 | opacity: 0,
|
---|
| 12 | transform: 'translate3d(0, -10%, 0)'
|
---|
| 13 | },
|
---|
| 14 |
|
---|
| 15 | to: {
|
---|
| 16 | opacity: 1,
|
---|
| 17 | transform: 'translate3d(0, 0, 0)',
|
---|
| 18 | }
|
---|
| 19 | },
|
---|
| 20 |
|
---|
| 21 | '.fadeInDown': {
|
---|
| 22 | animation: 'fadeInDown .3s',
|
---|
| 23 | }
|
---|
| 24 | });
|
---|
| 25 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.