Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / neon-animation / animations / slide-up-animation-extracted.js
blob5030ad58a3b68d7bde8f7a7a017823f38f3c6771
3 Polymer({
5 is: 'slide-up-animation',
7 behaviors: [
8 Polymer.NeonAnimationBehavior
9 ],
11 configure: function(config) {
12 var node = config.node;
14 if (config.transformOrigin) {
15 this.setPrefixedProperty(node, 'transformOrigin', config.transformOrigin);
16 } else {
17 this.setPrefixedProperty(node, 'transformOrigin', '50% 0');
20 this._effect = new KeyframeEffect(node, [
21 {'transform': 'translate(0)'},
22 {'transform': 'translateY(-100%)'}
23 ], this.timingFromConfig(config));
25 return this._effect;
28 });