move some elements to a new directory

This commit is contained in:
dkanada 2019-12-11 23:54:56 +09:00
parent 758477f1ae
commit f036ccc674
24 changed files with 15 additions and 30 deletions

View file

@ -0,0 +1,18 @@
define(['layoutManager', 'css!./emby-button', 'registerElement'], function (layoutManager) {
'use strict';
var EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype);
EmbyButtonPrototype.createdCallback = function () {
this.classList.add('paper-icon-button-light');
if (layoutManager.tv) {
this.classList.add('show-focus');
}
};
document.registerElement('paper-icon-button-light', {
prototype: EmbyButtonPrototype,
extends: 'button'
});
});