We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Corset v1 and v2
in the following Corset sheet code, var(--onSelected, false) is resolving as false:
var(--onSelected, false)
[role="group"] { --onSelected: ${x => console.log(x)}; event: pointerdown bind( ${this.someEvent}, var(--onSelected, false) ); event: keydown bind( ${this.someEvent}, var(--onSelected, false) ); }
someEvent (selCB, ev) { // ... do stuff selCB && selCB(1) // selCB is false :( }
Changing the variable to --on-selected resolves errors - might have a toLowerCase() happening(?) but vars are case sensitive
--on-selected
Ty! 💜
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Corset v1 and v2
in the following Corset sheet code,
var(--onSelected, false)
is resolving as false:Changing the variable to
--on-selected
resolves errors - might have a toLowerCase() happening(?) but vars are case sensitiveTy! 💜
The text was updated successfully, but these errors were encountered: