Skip to content

Übersicht Input‐Komponenten

Martin edited this page Dec 11, 2024 · 6 revisions

Ist-Zustand

Links:

Komponente _value getValue onInput onChange Bemerkungen
kol‑button Stringified<StencilUnknown> Stringified<StencilUnknown> | undefined n/a n/a n/a
kol‑button‑link Stringified<StencilUnknown> Stringified<StencilUnknown> | undefined n/a n/a n/a
kol‑combobox string string | undefined string string n/a
kol‑input‑checkbox Stringified<StencilUnknown> StencilUnknown StencilUnknown StencilUnknown n/a
kol‑input‑color string string | undefined string string n/a
kol‑input‑date Iso8601 | Date | null string | Date | undefined Date | Iso8601 Date | Iso8601 n/a
kol‑input‑email string string | undefined string string n/a
kol‑input‑file n/a FileList | null | undefined FileList | null FileList | null n/a
kol‑input‑number number | Iso8601 | null string | undefined string string [1]
kol‑input‑password string string | undefined string string n/a
kol‑input‑radio StencilUnknown StencilUnknown | undefined string | number string | number n/a
kol‑input‑range number number | undefined string number [2]
kol‑input‑text string string | undefined string string n/a
kol‑select Stringified<W3CInputValue[]> Stringified<W3CInputValue[]> | undefined Stringified<W3CInputValue[]> Stringified<W3CInputValue[]> n/a
kol‑single‑select string string | undefined string string [3]
kol‑textarea string string | undefined string string n/a

Soll-Zustand

Komponente _value getValue onInput onChange Bemerkungen
kol‑button Stringified<StencilUnknown> StencilUnknown n/a n/a n/a
kol‑button‑link Stringified<StencilUnknown> StencilUnknown n/a n/a n/a
kol‑combobox string string string string Wenn leer, ist es ein leerer String
kol‑input‑checkbox Stringified<StencilUnknown> StencilUnknown StencilUnknown StencilUnknown n/a
kol‑input‑color string string string string Standardwert #000 wird genommen, wenn leer
kol‑input‑date Iso8601 | Date | null Iso8601 | Date | null Date | Iso8601 Date | Iso8601 n/a
kol‑input‑email string string | undefined string string n/a
kol‑input‑file n/a FileList | null | undefined FileList | null FileList | null n/a
kol‑input‑number number | Iso8601 | null string | undefined string string [1]
kol‑input‑password string string | undefined string string n/a
kol‑input‑radio StencilUnknown StencilUnknown | undefined string | number string | number n/a
kol‑input‑range number number | undefined string number [2]
kol‑input‑text string string | undefined string string n/a
kol‑select Stringified<W3CInputValue[]> Stringified<W3CInputValue[]> | undefined Stringified<W3CInputValue[]> Stringified<W3CInputValue[]> n/a
kol‑single‑select string string | undefined string string [3]
kol‑textarea string string | undefined string string n/a

Anmerkungen

[1] Siehe auch #7125
[2] Unterschiedliche Types für onInput und onChange; Siehe auch #6345
[3] Values sind als string typed, die Optionen aber als Option<StencilUnknown>[]