jellyfish-web/src/bower_components/emby-webcomponents/emby-button/paper-icon-button-light.js

10 lines
496 B
JavaScript
Raw Normal View History

2018-10-23 01:05:09 +03:00
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"), layoutManager.tv && this.classList.add("icon-button-focusscale")
}, document.registerElement("paper-icon-button-light", {
prototype: EmbyButtonPrototype,
extends: "button"
})
});