jQWidgets Forums

jQuery UI Widgets Forums Angular How to refresh jqxNotification

This topic contains 2 replies, has 2 voices, and was last updated by  steelman 3 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • How to refresh jqxNotification #120591

    steelman
    Participant

    Hi,
    The tow ways don’t work
    1.
    <jqxNotification #myMsg
    >
    <div>
    <div #divPrompt></div>
    </div>
    </jqxNotification>
    ……….
    this.divPrompt.nativeElement.text=’abc’;//the jqxNotification don’t show ‘abc’
    2.
    <jqxNotification #myMsg
    >
    <div>
    <div>{{promptMsg}}</div>
    </div>
    </jqxNotification>
    ……….
    this.promptMsg=’abc’;//the jqxNotification don’t show ‘abc’

    How jqxNotification can to show dynamic infomation.

    Thanks!

    How to refresh jqxNotification #120596

    Martin
    Participant

    Hello steelman,

    Please, take a look at the Angular demo about Notification container.
    Here the content of the jqxNotification is updated dynamically like this:

    this.jqxNotification.elementRef.nativeElement.querySelector('.jqx-notification-content').innerHTML = '...'

    Best Regards,
    Martin Yotov

    jQWidgets Team
    https://www.jqwidgets.com/

    How to refresh jqxNotification #120608

    steelman
    Participant

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.