Add compatibility for Lit 2.0 (#8878)

This commit is contained in:
Bram Kragten
2021-05-07 22:16:14 +02:00
committed by GitHub
parent 0f58214ba1
commit 9f032a61a9
521 changed files with 2512 additions and 2510 deletions

View File

@@ -6,7 +6,7 @@ import {
css,
customElement,
html,
internalProperty,
state,
LitElement,
property,
PropertyValues,
@@ -39,7 +39,7 @@ export class HaFileUpload extends LitElement {
@property({ type: Boolean, attribute: "auto-open-file-dialog" })
private autoOpenFileDialog = false;
@internalProperty() private _drag = false;
@state() private _drag = false;
@query("#input") private _input?: HTMLInputElement;