29 lines
541 B
TypeScript
29 lines
541 B
TypeScript
|
import {
|
||
|
customElement,
|
||
|
DeesElement,
|
||
|
type TemplateResult,
|
||
|
property,
|
||
|
html,
|
||
|
css,
|
||
|
unsafeCSS,
|
||
|
cssManager,
|
||
|
type CSSResult,
|
||
|
} from '@design.estate/dees-element';
|
||
|
import { demoFunc } from './dees-input-phone.demo.js';
|
||
|
|
||
|
declare global {
|
||
|
interface HTMLElementTagNameMap {
|
||
|
'dees-input-phone': DeesInputPhone;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@customElement('dees-input-phone')
|
||
|
export class DeesInputPhone extends DeesElement {
|
||
|
// STATIC
|
||
|
public static demo = demoFunc;
|
||
|
|
||
|
// INSTANCE
|
||
|
public render() {
|
||
|
return html`<div>Phone Input</div>`;
|
||
|
}
|
||
|
}
|