mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
c4dadd58bd
commit
cee4794cd3
64 changed files with 1378 additions and 297 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue