alibaba / alibaba/lowcode-engine

Question : Blocks feature, functions and event handlers

Aperta
#1,380 3 commenti 0 reazioni 1 assegnatario Rivendicata da @eternalsky Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
15.9k
Fork
2.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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,

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.