-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
I'm trying to use a Blazor custom component (as WASM) in my angular application.
I'm currently running into an issue where my attribute and event bindings on the custom component don't work.
I think its a timing issue, when I put the binging in a timeout of 1 second they work fine. It seems to me that its an issue where my bindings will happen before blazor is properly started.
I have set up an example repo where the issue is demonstrated: https://github.com/ZeroZeroOne-dev/BlrInAng
In the angular code you can enable the code with the timeout to see when it does and doesn't work.
Is there a proper way to ensure that blazor is attached to my component before my bindings are set by angular?
The documentation is pretty lacking when it comes to usage of the components outside of a blazor environment.
Thanks.