1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 * This file defines a set of common animations used by
8 * 'settings-animated-pages'.
11 is
: 'next-page-enter-animation',
14 Polymer
.NeonAnimationBehavior
17 configure: function(config
) {
18 var node
= config
.node
;
20 var timing
= this.timingFromConfig(config
);
22 timing
.duration
= 150;
24 this._effect
= new KeyframeEffect(node
, [
33 is
: 'next-page-exit-animation',
36 Polymer
.NeonAnimationBehavior
39 configure: function(config
) {
40 var node
= config
.node
;
42 var timing
= this.timingFromConfig(config
);
43 timing
.duration
= 150;
45 this._effect
= new KeyframeEffect(node
, [