Embedded widgets
The TemplatePanel widget allows arbitrary HTML and JavaScript to be rendered
as part of a PCF page. Embedded widgets are similar, but are intended specifically for
embedding an iframe in a PCF page.
Embedded widgets differ from template panels in the following ways:
- Embedded widgets support only embedded
iframeelements. They do not support HTML or JavaScript directly included in the PCF page. - Embedded widgets are available as either a panel (
EmbeddedPanel) or as an input (EmbeddedInput). - Embedded widgets have built-in support for communicating with the page within the
iframe. The page within theiframecan also use the gw-embedded-ts.js JavaScript library provided to communicate with the PCF page.
