-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
As mentioned in #12 (comment):
Looks like this is something we will want to eventually add to
ybc::Input
. Want to pop a ticket so that we can track this?
This tracking ticket is in reference to wanting to include the onkeypress
event to the Input
component but extends to other parts of ybc
.
Currently, a number of expected/desirable properties are not available on the components in the library, including those expected for global attributes, aria-
labels, and per-Component properties (eg: input). A curated list of properties should probably be added to components that would benefit from them.
Input
Attributes
- autocomplete - Option
- autofocus - Option
- class(es) - Option
- dir - Option
- disabled - bool
- hidden - Option
- id - Option <-- See Adding
id
fields to most components. #10 - inputmode - Option
- form - Option
- list - Option
- name - String
- placeholder - String <-- make Option?
- required - Option
- spellcheck - Option
- style - Option
- tabindex - Option
- type - InputType
- value - String
Events
- onabort ?
- onblur
- onerror
- onfocus
- oncancel ?
- onchange <-- currently update?
- onclick
- ondblclick
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onsubmit
- ontouchcancel
- ontouchend
- ontouchstart
Metadata
Metadata
Assignees
Labels
No labels