egroupware/api/js/etemplate/Layout/Et2Tabs/Et2Tab.ts
nathan db143f047a Change tabs to use Shoelace
Includes changes to historylog, since it did some deferred loading & sizing magic based on tab
2022-08-02 10:33:04 -06:00

23 lines
363 B
TypeScript

import {Et2Widget} from "../../Et2Widget/Et2Widget";
import {SlTab} from "@shoelace-style/shoelace";
export class Et2Tab extends Et2Widget(SlTab)
{
static get properties()
{
return {
...super.properties,
hidden: {type: Boolean, reflect: true}
}
}
constructor()
{
super();
this.hidden = false;
}
}
customElements.define("et2-tab", Et2Tab);