1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/bower_components/neon-animation/neon-shared-element-animatable-behavior.html

44 lines
1.3 KiB
HTML
Raw Normal View History

2015-06-16 00:52:01 -04:00
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<link rel="import" href="../polymer/polymer.html">
2015-06-19 12:36:51 -04:00
<link rel="import" href="neon-animatable-behavior.html">
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
<script>
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
/**
* Use `Polymer.NeonSharedElementAnimatableBehavior` to implement elements containing shared element
* animations.
2015-06-25 21:13:51 -04:00
* @polymerBehavior Polymer.NeonSharedElementAnimatableBehavior
2015-06-19 12:36:51 -04:00
*/
2015-06-25 21:13:51 -04:00
Polymer.NeonSharedElementAnimatableBehaviorImpl = {
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
properties: {
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
/**
* A map of shared element id to node.
*/
sharedElements: {
type: Object,
value: {}
}
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
}
2015-06-16 00:52:01 -04:00
2015-06-25 21:13:51 -04:00
};
/** @polymerBehavior Polymer.NeonSharedElementAnimatableBehavior */
Polymer.NeonSharedElementAnimatableBehavior = [
Polymer.NeonAnimatableBehavior,
Polymer.NeonSharedElementAnimatableBehaviorImpl
];
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
</script>