You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am trying to pass component property : elementText to the custom element.
i can pass strings : text2="my text"
but cannot manage to pass the "elementText" variable.
i've tried:
[text2]="elementText"
text2="{{elementText}}"
but my custom component gets 'null' as the value.
using *axLazyElement the input variables gets passed correctly to the same custom element i've used in the question above.
<ax-lazy-element *axLazyElementDynamic="elementName, url: elementUrl; module: true;"
text2="{{elementText}}"
(send)="onSendReceived($event)"
(navigate)="onNavigate($event)">
i am trying to pass component property : elementText to the custom element.
i can pass strings : text2="my text"
but cannot manage to pass the "elementText" variable.
i've tried:
[text2]="elementText"
text2="{{elementText}}"
but my custom component gets 'null' as the value.
using *axLazyElement the input variables gets passed correctly to the same custom element i've used in the question above.
i've read a similar problem with #50
i've tried the 10-alpha version, still not working. with disabling ivy - not working.
then i've checked again, and it seems that the value was not available during the
connectedCallback event in the web-component. only afterwards.
so i've wrapped the code inside my connectedCallback function with setTimeout and now it works.
The text was updated successfully, but these errors were encountered: