Files
frontend/src/components/ha-fade-in.ts
2025-09-08 14:25:47 +02:00

20 lines
503 B
TypeScript

import WaAnimation from "@home-assistant/webawesome/dist/components/animation/animation";
import { customElement, property } from "lit/decorators";
@customElement("ha-fade-in")
export class HaFadeIn extends WaAnimation {
@property() public name = "fadeIn";
@property() public fill: FillMode = "both";
@property({ type: Boolean }) public play = true;
@property({ type: Number }) public iterations = 1;
}
declare global {
interface HTMLElementTagNameMap {
"ha-fade-in": HaFadeIn;
}
}