Closed
Description
Feature Request Description
ui5-webcomponents define different types of properties: https://sap.github.io/ui5-webcomponents/docs/development/properties/#type
"function" is not one of them, but it could be helpful to pass callbacks to a custom web component. I am aware that in general custom events are preferable over callbacks for web components, but there are still use cases where callbacks make sense in my opinion, e.g. an asynchronous callback to fetch data.
Proposed Solution
Provide a new type of property "function"
Proposed Alternatives
No response
Organization
SAP
Additional Context
No response
Priority
Medium
Privacy Policy
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Type
Projects
Status
Completed