fix(core): update

This commit is contained in:
2021-08-20 00:25:14 +02:00
parent e028f37493
commit 4311c0fff6
10 changed files with 17681 additions and 1628 deletions

View File

@ -9,6 +9,8 @@ import {
cssManager,
} from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools';
declare global {
interface HTMLElementTagNameMap {
'dees-input-fileupload': DeesInputFileupload;
@ -19,6 +21,9 @@ declare global {
export class DeesInputFileupload extends DeesElement {
public static demo = () => html`<dees-input-fileupload></dees-input-fileupload>`;
// INSTANCE
public changeSubject = new domtools.rxjs.Subject();
@property({
type: String,
})
@ -96,6 +101,7 @@ export class DeesInputFileupload extends DeesElement {
public async updateValue(eventArg: Event) {
const target: any = eventArg.target;
this.value = target.value;
this.changeSubject.next(this);
}
public firstUpdated() {