mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Add to HTML tag name map (#1900)
This commit is contained in:
parent
f3ef4cef74
commit
d31195fc87
@ -14,7 +14,7 @@ interface Config extends LovelaceConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class HuiPictureElementsCard extends LitElement implements LovelaceCard {
|
class HuiPictureElementsCard extends LitElement implements LovelaceCard {
|
||||||
protected _config?: Config;
|
private _config?: Config;
|
||||||
private _hass?: HomeAssistant;
|
private _hass?: HomeAssistant;
|
||||||
|
|
||||||
static get properties() {
|
static get properties() {
|
||||||
@ -102,4 +102,10 @@ class HuiPictureElementsCard extends LitElement implements LovelaceCard {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare global {
|
||||||
|
interface HTMLElementTagNameMap {
|
||||||
|
"hui-picture-elements-card": HuiPictureElementsCard;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
customElements.define("hui-picture-elements-card", HuiPictureElementsCard);
|
customElements.define("hui-picture-elements-card", HuiPictureElementsCard);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user