mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-24 11:09:48 +00:00
20 lines
503 B
TypeScript
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;
|
|
}
|
|
}
|