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
converting alpinejs code to _hyperscript #526
Comments
On the img something like… on input from previous <input[type=range]/> set my @width to event.target's value + 'px' end Writing from mobile on toilette. May be incomplete. I left out the default value. |
amazing! it works: |
made some progress : |
You can set it like: set my @width to (value of previous <input[type=range]/>) + 'px' It’s probably better to assign an ID to the input or closest div and reference it like #bla's value or |
Or… assign classes within the div and reference them like That’s a bit more flexible if you repeat those divs. |
ok, that's a good direction for a newbie like me:) thanks |
hi,
got a code like following, how to rewrite that into _hyperscript? thanks
https://jsfiddle.net/7rjgkys1/
The text was updated successfully, but these errors were encountered: