update listviews
This commit is contained in:
parent
1032fa887e
commit
f458196922
31 changed files with 168 additions and 100 deletions
17
dashboard-ui/bower_components/emby-webcomponents/emby-itemscontainer/emby-itemscontainer.js
vendored
Normal file
17
dashboard-ui/bower_components/emby-webcomponents/emby-itemscontainer/emby-itemscontainer.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
define(['itemShortcuts', 'registerElement'], function (itemShortcuts) {
|
||||
|
||||
var ItemsContainerProtoType = Object.create(HTMLDivElement.prototype);
|
||||
|
||||
ItemsContainerProtoType.attachedCallback = function () {
|
||||
itemShortcuts.on(this);
|
||||
};
|
||||
|
||||
ItemsContainerProtoType.detachedCallback = function () {
|
||||
itemShortcuts.off(this);
|
||||
};
|
||||
|
||||
document.registerElement('emby-itemscontainer', {
|
||||
prototype: ItemsContainerProtoType,
|
||||
extends: 'div'
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue