Render-Fläche
Native Fläche für 3D-, Karten- und Canvas-Renderer. Der Host besitzt die Engine; Invisible besitzt Größe, Beschriftung und Lade-/Fehlerzustand. 1.1.0: ratio fill (volle Hoehe), frame none (randlos). 1.2.0 (opt-in): dropTarget = Ablegen auf die Flaeche (Bibliothek in eine 3D-Szene); meldet dragover,
Beispiele
Native 3D-Fläche
Ladezustand
Szene wird geladen …
Ablageziel (1.2.0)
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| padding | string: standard | none | sm | md | lg | xl | "standard" | Innenabstand (standard = Baustein-Wert) |
| margin | string: standard | none | sm | md | lg | xl | "standard" | Aussenabstand |
| border | string: standard | none | hairline | strong | "standard" | Rahmen |
| radius | string: standard | none | control | surface | pill | "standard" | Ecken-Rundung |
| textColor | string | "" | Textfarbe (Token; leer = Standard) |
| backgroundColor | string | "" | Hintergrundfarbe (Token; leer = Standard) |
| shadow | string: standard | none | sm | md | lg | "standard" | Schatten |
| width | string: standard | full | "standard" | Breite |
| alignSelf | string: standard | start | center | end | "standard" | Ausrichtung im Elternteil |
| anchor | string | "" | Anker-ID (Sprungziel, z. B. fuer Nav-Links) |
| label | string | "Interaktive Ansicht" | Beschriftung |
| ratio | string: landscape | wide | square | fill | "landscape" | Seitenverhältnis |
| busy | boolean | false | Wird geladen |
| message | string | "" | Status oder Fehlermeldung |
| frame | string: standard | none | "standard" | Rahmen |
| dropTarget | boolean | false | Ablegen auf die Flaeche (meldet dragover, drop, dragleave) |
| dropTypes | string | "" | Angenommene Typen (MIME, durch Komma oder Leerzeichen; leer = alle) |
* Pflicht-Prop
Events & Slots
Events:
⚡ dragover⚡ drop⚡ dragleave — im Surface per on: {<event>: {action, params}} verdrahtbar.
Slot default:
akzeptiert ui.*, component.*, layout.*
Genutzte Design-Tokens
border.hairlinecolor.border.defaultcolor.surface.defaultcolor.text.defaultfont.family.defaultradius.controlradius.surfacesize.3size.4