mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
12 lines
327 B
JavaScript
12 lines
327 B
JavaScript
const ProgramCellPrototype = Object.create(HTMLButtonElement.prototype);
|
|
|
|
ProgramCellPrototype.detachedCallback = function () {
|
|
this.posLeft = null;
|
|
this.posWidth = null;
|
|
this.guideProgramName = null;
|
|
};
|
|
|
|
document.registerElement('emby-programcell', {
|
|
prototype: ProgramCellPrototype,
|
|
extends: 'button'
|
|
});
|