Theme: ← Übersicht Tokens

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,

Components v1.2.0 Inhalt AppDesktop component.render-surface

Beispiele

Native 3D-Fläche
Ladezustand
Szene wird geladen …
Ablageziel (1.2.0)

Eigenschaften

PropTypDefaultBuilder-Label
paddingstring: standard | none | sm | md | lg | xl"standard"Innenabstand (standard = Baustein-Wert)
marginstring: standard | none | sm | md | lg | xl"standard"Aussenabstand
borderstring: standard | none | hairline | strong"standard"Rahmen
radiusstring: standard | none | control | surface | pill"standard"Ecken-Rundung
textColorstring""Textfarbe (Token; leer = Standard)
backgroundColorstring""Hintergrundfarbe (Token; leer = Standard)
shadowstring: standard | none | sm | md | lg"standard"Schatten
widthstring: standard | full"standard"Breite
alignSelfstring: standard | start | center | end"standard"Ausrichtung im Elternteil
anchorstring""Anker-ID (Sprungziel, z. B. fuer Nav-Links)
labelstring"Interaktive Ansicht"Beschriftung
ratiostring: landscape | wide | square | fill"landscape"Seitenverhältnis
busybooleanfalseWird geladen
messagestring""Status oder Fehlermeldung
framestring: standard | none"standard"Rahmen
dropTargetbooleanfalseAblegen auf die Flaeche (meldet dragover, drop, dragleave)
dropTypesstring""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