1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2015-06-25 21:13:51 -04:00
parent c4dadd58bd
commit cee4794cd3
64 changed files with 1378 additions and 297 deletions

View file

@ -141,3 +141,53 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
});
</script>
<script>
Polymer.ObserveIronResizeBehavior = {
properties: {
ironResizeCount: {
type: Number,
value: 0
}
},
listeners: {
'iron-resize': '_incrementIronResizeCount'
},
_incrementIronResizeCount: function() {
this.ironResizeCount++;
}
};
</script>
<dom-module id="x-shadow-resizable">
<template>
<div></div>
</template>
</dom-module>
<script>
Polymer({
is: 'x-shadow-resizable',
behaviors: [
Polymer.IronResizableBehavior,
Polymer.ObserveIronResizeBehavior
]
});
</script>
<dom-module id="x-light-resizable">
<template>
<x-shadow-resizable id="childResizable1"></x-shadow-resizable>
<x-shadow-resizable id="childResizable2"></x-shadow-resizable>
</template>
</dom-module>
<script>
Polymer({
is: 'x-light-resizable',
behaviors: [
Polymer.IronResizableBehavior,
Polymer.ObserveIronResizeBehavior
]
});
</script>