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

on/off vs. checked/unchecked #2

Open
domenic opened this issue Apr 26, 2019 · 1 comment
Open

on/off vs. checked/unchecked #2

domenic opened this issue Apr 26, 2019 · 1 comment

Comments

@domenic
Copy link
Contributor

domenic commented Apr 26, 2019

The current API proposes "checked" as the name of the concept for the on switch. This gives drop-in compatibility with checkboxes. But semantically it is a little strange.

An alternative would be having an on="" attribute.

@zcorpan
Copy link

zcorpan commented May 16, 2019

Radio buttons also use checked

tkent-google added a commit that referenced this issue Jun 19, 2019
- Apply simple reflection to on/defaulton; #4
- Change checked/defaultChecked to on/defaultOn; #2
- Add some links to issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants