5 is: 'scale-up-animation',
8 Polymer.NeonAnimationBehavior
11 configure: function(config) {
12 var node = config.node;
14 if (config.transformOrigin) {
15 this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
18 var scaleProperty = 'scale(0)';
19 if (config.axis === 'x') {
20 scaleProperty = 'scale(0, 1)';
21 } else if (config.axis === 'y') {
22 scaleProperty = 'scale(1, 0)';
25 this._effect = new KeyframeEffect(node, [
26 {'transform': scaleProperty},
27 {'transform': 'scale(1, 1)'}
28 ], this.timingFromConfig(config));