lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

Question : Blocks feature, functions and event handlers

Open aderici opened this issue 3 years ago • 3 comments

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,

aderici avatar Dec 20 '22 04:12 aderici

actually there is a Component Type, works just like a react component, unfortunately our demo for this is not ready yet. and it`s not easy to describe how to implement that without a demo, we will provide that in about 2 - 3 months

JackLian avatar Dec 20 '22 12:12 JackLian

Thank you @JackLian for the answer. Is there a roadmap of the features you're looking to implement in the future?

aderici avatar Dec 20 '22 16:12 aderici

well, not really a roadmap, but we do have an article about what we are about to do in the next few months , but it`s in chinese, maybe you can try google translate it https://xie.infoq.cn/article/d91d4a66fc647a783b33efe39

if google tranlate is not working, here are some of the planning features

  • application-level editor
  • lowcode component (component implemented in lowcode)
  • flow editing, ( with x6 an g6 embeded)
  • i18n
  • theme support
  • playground for lowcode engine
  • a free lowcode-platform ( more like a more complete demo with backend services, implemented with lowcode engine)
  • ...

JackLian avatar Dec 21 '22 01:12 JackLian