2022-01-24 00:39:47 +00:00
|
|
|
import { customElement, DeesElement, TemplateResult, html } from '@designestate/dees-element';
|
2020-09-13 16:24:48 +00:00
|
|
|
|
|
|
|
import * as domtools from '@designestate/dees-domtools';
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
`;
|
|
|
|
}
|
|
|
|
}
|