OLD | NEW |
1 | 1 /** |
2 | |
3 /** | |
4 * Use `Polymer.NeonSharedElementAnimatableBehavior` to implement elements con
taining shared element | 2 * Use `Polymer.NeonSharedElementAnimatableBehavior` to implement elements con
taining shared element |
5 * animations. | 3 * animations. |
6 * @polymerBehavior Polymer.NeonSharedElementAnimatableBehavior | 4 * @polymerBehavior Polymer.NeonSharedElementAnimatableBehavior |
7 */ | 5 */ |
8 Polymer.NeonSharedElementAnimatableBehaviorImpl = { | 6 Polymer.NeonSharedElementAnimatableBehaviorImpl = { |
9 | 7 |
10 properties: { | 8 properties: { |
11 | 9 |
12 /** | 10 /** |
13 * A map of shared element id to node. | 11 * A map of shared element id to node. |
14 */ | 12 */ |
15 sharedElements: { | 13 sharedElements: { |
16 type: Object, | 14 type: Object, |
17 value: {} | 15 value: {} |
18 } | 16 } |
19 | 17 |
20 } | 18 } |
21 | 19 |
22 }; | 20 }; |
23 | 21 |
24 /** @polymerBehavior Polymer.NeonSharedElementAnimatableBehavior */ | 22 /** @polymerBehavior Polymer.NeonSharedElementAnimatableBehavior */ |
25 Polymer.NeonSharedElementAnimatableBehavior = [ | 23 Polymer.NeonSharedElementAnimatableBehavior = [ |
26 Polymer.NeonAnimatableBehavior, | 24 Polymer.NeonAnimatableBehavior, |
27 Polymer.NeonSharedElementAnimatableBehaviorImpl | 25 Polymer.NeonSharedElementAnimatableBehaviorImpl |
28 ]; | 26 ]; |
29 | |
OLD | NEW |