-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
I would like to see some more basic events for the input fields (the ones with floating label, as well as normal input). And maybe keeping them consistent would also be nice (as of now, normal inputs do only forward on:change
while floating inputs do also forward on:blur
events).
To be honest, I think those make sense for all components, but they are for sure useful for text inputs.
Motivation
I am going to use this for validation and would love to have a bit more control over the events. :)
I suggest to add some basic events like those:
Events
- A: on:change
- B: on:keyup
- C: on:keydown
- D: on:keypress
- E: on:focus
- F: on:blur
- G: on:click
- H: on:mouseover
- I: on:mouseenter
- J: on:mouseleave
- K: on:paste
Components and Events
- Input (A, B, C, D, E, F, G, H, I, J, K)
- File input (A, B, C, D, E, F, G, H, I, J, K)
- Floating label (A, B, C, D, E, F, G, H, I, J, K)
- Search (A, B, C, D, E, F, G, H, I, J, K)
- Textarea (A, B, C, D, E, F, G, H, I, J, K)
- Checkbox (A, B, C, D, E, F, G, H, I, J)
- Radio (A, B, C, D, E, F, G, H, I, J)
- Toggle (A, G, H, I, J)
- Range (A, B, C, D, G, H, I, J)
- Buttons (A, B, C, D, G, H, I, J)
- ButtonGroupItem (A, B, C, D, G, H, I, J)
- Pagination buttons (A, B, C, D, G, H, I, J)
- Dropdown / DropdownItem (A, B, C, D, G, H, I, J)
- Tabs (A, B, C, D, G, H, I, J)
- Sidebar items (A, B, C, D, G, H, I, J)
- Navbar items / NavLi (A, B, C, D, G, H, I, J)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request