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-from-right-animation-extracted.js
blob02f5b84ef74856673a35af0b34396501893d3520
3 Polymer({
5 is: 'slide-from-right-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', '0 50%');
20 this._effect = new KeyframeEffect(node, [
21 {'transform': 'translateX(100%)'},
22 {'transform': 'none'}
23 ], this.timingFromConfig(config));
25 return this._effect;
28 });