Skip to content

Event name on widget using _trigger are lowercase #789

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

Closed
camilova opened this issue Oct 4, 2019 · 1 comment
Closed

Event name on widget using _trigger are lowercase #789

camilova opened this issue Oct 4, 2019 · 1 comment

Comments

@camilova
Copy link

camilova commented Oct 4, 2019

Please add to the documentation of widget callbacks, that the event name is determined concatenating widget name and custom event, but in lowercase, because there is nothing saying this and when I tried I was thinking that my events were not fired.

They were fired, but my widget has camelCase name, then the event name was camelcaseevent and not camelCasevent

Here, in this article, stay: "The event type is determined by concatenating the plugin name and the callback name."

And, should be: "The event type is determined by concatenating the plugin name and the callback name, both in lower case."

@camilova
Copy link
Author

camilova commented Apr 1, 2021

I close this because explanation is already on docs.

image

@camilova camilova closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant