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