Refreshing the Web Widget in single page applications (SPA) Follow

Comments

2 comments

  • Avatar
    Anders Eriksson (Edited )

    Solved it for loading MPWidgets;

    if (the _nRepData.MPWidgets.Data.length > 0) {
        if (typeof window.nanoRep !== 'undefined' && typeof window.nanoRep.MPWidget !== 'undefined') {
              window.nanoRep.MPWidget.loadMPData(0);
            }
    }

    // Else you add the MPWidgets data and load the script

  • Avatar
    Sumit Heda

    Widget is not refreshed after the setIdentity method 

    zE(function () {
    zE.setHelpCenterSuggestions({'url': true});
    });
    i am using this method also i added the timeout in this method call but it is not refreshed.


Please sign in to leave a comment.

Powered by Zendesk