2023-08-07 17:13:29 +00:00
|
|
|
import { customElement, DeesElement, TemplateResult, html } from '@design.estate/dees-element';
|
2020-09-13 16:24:48 +00:00
|
|
|
|
2023-08-07 17:13:29 +00:00
|
|
|
import * as domtools from '@design.estate/dees-domtools';
|
2020-09-13 16:24:48 +00:00
|
|
|
|
2021-03-06 15:48:02 +00:00
|
|
|
declare global {
|
|
|
|
interface HTMLElementTagNameMap {
|
|
|
|
'dees-toast': DeesToast;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-13 16:24:48 +00:00
|
|
|
@customElement('dees-toast')
|
2022-01-24 00:39:47 +00:00
|
|
|
export class DeesToast extends DeesElement {
|
2020-09-13 16:24:48 +00:00
|
|
|
|
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
domtools.elementBasic.setup();
|
|
|
|
}
|
|
|
|
|
|
|
|
public render(): TemplateResult {
|
|
|
|
return html`
|
|
|
|
${domtools.elementBasic.styles}
|
|
|
|
<style></style>
|
|
|
|
|
|
|
|
`;
|
|
|
|
}
|
|
|
|
}
|