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

Toggle - need better Documentation to get a value of the toggle #392

Open
umaraliyar opened this issue Jun 17, 2020 · 0 comments
Open

Toggle - need better Documentation to get a value of the toggle #392

umaraliyar opened this issue Jun 17, 2020 · 0 comments

Comments

@umaraliyar
Copy link

Hi,
Thanks for the framework! Toggle is a pain in neck. There is no easy way to get toggle is on / off through jquery. it always return "on". Tried to change by checking if checked

var toggle = app.toggle.get('.toggle');

if (toggle.checked) {
// do something
}
it returns undefined with error in console. Give us a better example on core jquery not in react / vue.

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

1 participant