dees-appui-catalog/ts_web/elements/deap-base.ts

32 lines
860 B
TypeScript
Raw Normal View History

2021-03-05 16:01:54 +00:00
import { DeesElement, TemplateResult, property, customElement, html } from '@designestate/dees-element';
@customElement('deap-base')
export class DeapBase extends DeesElement {
public static demo = () => html`<deap-base></deap-base>`;
// INSTANCE
public render(): TemplateResult {
return html`
<style>
:host {
position: absolute;
height: 100%;
width: 100%;
}
.maingrid {
position: absolute;
height: 100%;
width: 100%;
display: grid;
grid-template-columns: 80px 240px auto 210px;
}
</style>
<div class="maingrid">
<deap-mainmenu></deap-mainmenu>
<deap-mainselector></deap-mainselector>
<deap-maincontent></deap-maincontent>
<deap-activitylog></deap-activitylog>
</div>
`;
}
}