How can I pass a data from component to view child element. e.g This the variable that I have declared on component:
@ViewChild('warningNotification', { static: false }) warningNotification: jqxNotificationComponent;
public test: string = "NIshan";
Now I have a element on 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>
but {{test}} this section not rendering any text. How can I solve this
@Inputinstead I have@VIewChildplease have a look at my updated question thank you<jqxNotification></jqxNotification>