-
Notifications
You must be signed in to change notification settings - Fork 103
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
fix(withWebComponent): Add handler of events those are not specified in metadata of ui5-webcomponents #315
Conversation
Co-Authored-By: Marcus Notheis <MarcusNotheis@users.noreply.github.com>
Co-Authored-By: Marcus Notheis <MarcusNotheis@users.noreply.github.com>
Co-Authored-By: Marcus Notheis <MarcusNotheis@users.noreply.github.com>
…in metadata of ui5-webcomponents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution, looks good to me!
I would appreciate if you could accept these two minor adjustments in the getEventsFromMetadata
function.
Co-Authored-By: Marcus Notheis <MarcusNotheis@users.noreply.github.com>
fix(withWebComponent): The argument has default value, so the check logic of argument is no longer needed. Co-Authored-By: Marcus Notheis <MarcusNotheis@users.noreply.github.com>
Hi, @MarcusNotheis . I've forgot to use the default value of arguments. |
Hi @gnseo |
Hi, @MarcusNotheis .
For compatibility, I've updated withWebComponent to support events those are unsupported by ui5-webcomponents since onFocus event might be supported by ui5-webcomponents in sometime, if so, a runtime error would be occurred by the change.
Please check my code if it is acceptable.