Integrate with Angular and provide inputs

Hello!!

I have created a section and it is successfully integrated into my Angular application. What I want to achieve is to provide data from my Angular Application to the builder component. Something like:

<builder-component name="users" [numberOfUsers]="100"></builder-component>

I have managed to create a data model and bind it with my section, and I have also managed to update the data using REST API. This works just fine. I can use the API and update the numberOfUsers to the desired number.

I was wondering though If I can provide data directly from the component.

Thanks in advance

Hi @profanis unfortunately we do not currently have a way to directly pass data into the <builder-component> in our Angular SDK.

We do support this in our React SDK: builder/packages/react at main · BuilderIO/builder · GitHub but for the time being it is not available in Angular. That being said we are constantly improving our SDKs so it is is possible we add this feature in the future.

In the meantime, glad you were able to find a work around, if you have any further questions please let us know!

1 Like