Repository navigation
Lottie de
Edgar Mesquita edited this page Oct 13, 2026
·
1 revision
🌐 Diese Seite auf: English · Português · Español · Français · Deutsch
Das Paket eQuantic.UI.Lottie bietet performante Animationsunterstützung über die Formate .lottie und .json mithilfe der Web-Komponente @dotlottie/player-component.
Fügen Sie das Paket Ihrem Projekt hinzu und registrieren Sie den Dienst:
builder.Services.AddUI(options =>
{
options.UseLottie();
});Die Komponente LottiePlayer übernimmt das Laden der Assets automatisch über IRequireAssets.
new LottiePlayer
{
Src = "https://assets.lottiefiles.com/animation.json",
Autoplay = true,
Loop = true,
Width = "300px"
}Das Format .dotlottie wird empfohlen, wegen kleinerer Dateien und besserer Performance.
new LottiePlayer
{
Src = "https://example.com/animation.lottie",
Height = "400px",
Controls = true
}| Eigenschaft | Typ | Beschreibung |
|---|---|---|
| Src | string |
URL der Animationsdatei (.json oder .dotlottie). |
| Autoplay | bool |
Startet die Animation automatisch. Standard: true. |
| Loop | bool |
Spielt die Animation in einer Schleife. Standard: true. |
| Speed | double |
Multiplikator der Abspielgeschwindigkeit. Standard: 1. |
| Background | string |
Hintergrundfarbe. Standard: transparent. |
| Width | string? |
Die CSS-Eigenschaft width. |
| Height | string? |
Die CSS-Eigenschaft height. |
| Controls | bool |
Zeigt die native Steuerungsoberfläche des Players. |
🏁 Hier starten
🏗️ Architektur
- Architekturüberblick
- Write-once-Komponenten
- Deklarative Oberfläche
- Paketarchitektur
- Komponenten
- Styling
- Lokalisierung
- Analytics und GTM
📱 Write-once
- Photon-Engine
- Design System
- Fähigkeiten
- Speicher
- Formulare
- Code-Editor
- Markdown
- Mermaid
- E-Mail-Rendering
⚙️ Kompilierung
⚡ Runtime
🔌 Server
🎨 Ökosystem
🚀 Entwicklung