framework7-website
framework7-website copied to clipboard
Toggle - need better Documentation to get a value of the toggle
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.