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
wf:wire(mybutton, [ #event { type=mouseover, postback=my_mouseover_event } #event { type=click, postback=my_click_event } #event { type=mouseout, postback=my_mouseout_event } ]),
As in the tutorial will result in only the last one working. This instead does work, but makes me really wish the shorter way would, too:
wf:wire(mybutton, #event { type=mouseover, postback=my_mouseover_event }), wf:wire(mybutton, #event { type=click, postback=my_click_event }), wf:wire(mybutton, #event { type=mouseout, postback=my_mouseout_event }),
BTW, on the same tutorial slide, there's an MyEvent that should be OtherEvent. But many thanks for writing it in the first place ;)
The text was updated successfully, but these errors were encountered:
I think this is a typo in the tutorial. It stumped me for a while too, but I got it to work by adding commas. As such:
wf:wire(mybutton, [ #event { type=mouseover, postback=my_mouseover_event }, #event { type=click, postback=my_click_event }, #event { type=mouseout, postback=my_mouseout_event } ]),
Sorry, something went wrong.
No branches or pull requests
As in the tutorial will result in only the last one working.
This instead does work, but makes me really wish the shorter way would, too:
BTW, on the same tutorial slide, there's an MyEvent that should be OtherEvent. But many thanks for writing it in the first place ;)
The text was updated successfully, but these errors were encountered: