Is there a way to transfer data from a component to a view child element? For example, I have declared the following variable in the component:
@ViewChild('warningNotification', { static: false }) warningNotification: jqxNotificationComponent;
public test: string = "NIshan";
Now, I have an element on the HTML page
<jqxNotification #warningNotification
[template]="'warning'"
[blink]="false"
[autoOpen]="false"
[autoClose]="true"
[closeOnClick]="true"
[position]="'top-right'"
[opacity]="0.9"
[width]="'auto'">
<div><span>
{{test}}
</span>
</div>
</jqxNotification>
Unfortunately, the {{test}}
section is not rendering any text. How can I fix this issue?