Widget Embedded in page using multiple opptions:
How can call from one widget to another widget
1. Directive Embedded
<widget id="widget-cool-clock"></widget>
2.Directive Embedded with Option
<widget id="widget-cool-clock" options='{"zone": "America/Los_Angeles","title": "San Diego, CA"}'><widget>
3. Embedded Widgets client-side
<sp-widget widget="c.myClockWidget"></sp-widget>
Client Code:
function(spUtil) { var c = this; spUtil.get("widget-cool-clock").then(function(response) { c.myClockWidget = response; }); }
4.Embedded Widgets Server Side
<sp-widget widget="list.widget"></sp-widget>
Server Side:
list.widget = $sp.getWidget('widget-data-table', params);
No responses yet