Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Events in Anlehnung an _on Property #6343

Open
laske185 opened this issue Apr 23, 2024 · 0 comments
Open

Native Events in Anlehnung an _on Property #6343

laske185 opened this issue Apr 23, 2024 · 0 comments

Comments

@laske185
Copy link
Contributor

laske185 commented Apr 23, 2024

Aktuell werden alle Events über die _on Property nach außen emitted. Hier sollen nun auch die nativen Events geworfen werden.

Deren Notation in vue würden lauten:

<KolInputText v-model="text" @change="text = v"></KolInputText>
<KolButton :label="Text löschen" @click="text =''"></KolButton>

In react:

<KolInputText onChange={(e, v) => {}}></KolInputText>
<KolButton _label="Text löschen" onClick={(e) => {}}></KolButton>

Die Anfrage kam mit Ticket #6175

Im ersten Schritt soll kol-input-text mit allen vorhandenen Events pilotiert werden.
Hinweis: es gibt kol-<event>. (z.B. kol-click, kol-change).
Die Adapter müssen explizit getestet werden. Bei vue auch v-model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📄 Ready
Development

No branches or pull requests

1 participant