Select to view content in your preferred language

Grid overlay widget reusability

177
1
08-05-2024 10:21 AM
Labels (2)
LietuvosKariuomenė
New Contributor

Hello, I want to recreate the grid overlay widget from the app builder in experience builder. Does anyone know what would be the best way going about that. Am I correct in assuming that I could reuse a lot of the libraries JS code without converting it to React/TypeScript? If anyone has any idea how to go about this any explanation or suggestion in as much detail as possible would be highly appreciated.

0 Kudos
1 Reply
Junshan_Liu
Frequent Contributor

Hi @LietuvosKariuomenė  A ExB widget must be a React component, but you can use other JS libraries in the widget. So, for your question, I think you can refactor your existing code to plain JavaScript functions and use these functions in your widget.

0 Kudos