alibaba / alibaba/lowcode-engine
Question : Blocks feature, functions and event handlers
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, as far as i can understand, all functions (forexample event handlers) are defined at the Page level. I understand this makes it easy for components to interact with each other and data sources.
Imagine a scenario where i have 5 different components that interact with each other. And then i want to provide this group of 5 elements as a block. None of the functions / interaction will be saved so it will be less than optimal.
Is there a workaround to this? There is a "ConfigProvider" component as i can see which is very similar to a Page. Maybe a way to define functions at the nearest configprovider level and saving the configprovider as a block?
Best regards,
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.