fix(core): update
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { customElement, html, LitElement } from 'lit-element';
|
||||
|
||||
import {DeesForm} from './dees-form';
|
||||
import { customElement, html, DeesElement, css, cssManager } from '@designestate/dees-element';
|
||||
import { DeesForm } from './dees-form';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
@@ -9,13 +8,15 @@ declare global {
|
||||
}
|
||||
|
||||
@customElement('dees-form-submit')
|
||||
export class DeesFormSubmit extends LitElement {
|
||||
export class DeesFormSubmit extends DeesElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
public static styles = [cssManager.defaultStyles, css``];
|
||||
|
||||
public render() {
|
||||
return html`
|
||||
<dees-button @click="${this.submit}">${this.textContent}</dees-button>
|
||||
`;
|
||||
return html` <dees-button @click="${this.submit}">${this.textContent}</dees-button> `;
|
||||
}
|
||||
|
||||
public async submit() {
|
||||
|
Reference in New Issue
Block a user