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
We are struck with a problem while using WW. we have a SharePoint Page in which we have multiple widgets. All widgets are developed using jquery. some widgets are using same resource like jquery.min.js. Problem is that some of the widgets don't render properly. if we remove the widgets and run individually everything works fine
Does WW supports multiple widgets on the same page?can you suggest a solution for this?
Thanks,
Chahat
The text was updated successfully, but these errors were encountered:
Yes, the actual point of the widget wrangler is to help run multiple widgets on the page. If you are having errors when running them together but not when running them separately then there is likely code (functions or variables) that are not properly namespaced so the widgets are stepping on each other. The only way to tell this is to look at the browser's developer console (F12) and review the errors.
Here is a sample of multiple jQuery widgets running on the same page. Note that the jQuery code is written to only work within the DOM element that contains each widget. Also, they both use the same path to load jQuery and other dependencies, so Widget Wrangler will only load them once across all widgets. Hope this helps!
Hi ,
We are struck with a problem while using WW. we have a SharePoint Page in which we have multiple widgets. All widgets are developed using jquery. some widgets are using same resource like jquery.min.js. Problem is that some of the widgets don't render properly. if we remove the widgets and run individually everything works fine
Does WW supports multiple widgets on the same page?can you suggest a solution for this?
Thanks,
Chahat
The text was updated successfully, but these errors were encountered: