Request for rendering content into a portal.
An example request to render an iframe with a span child into some-portal-id:
some-portal-id
{ type: 'portal:render', portalId: 'some-portal-id', contents: { tag: 'iframe', props: { style: { color: 'red', height: '100px', width: '100px' }, className: 'this-class', src: 'www.blackboard.com' }, children: [ { tag: 'span', props: { style: { color: 'blue' } } } ] } }
PortalElement content to render.
The portal to render content into.
Must be PORTAL_RENDER_TYPE.
Generated using TypeDoc
Request for rendering content into a portal.
An example request to render an iframe with a span child into
some-portal-id
:{ type: 'portal:render', portalId: 'some-portal-id', contents: { tag: 'iframe', props: { style: { color: 'red', height: '100px', width: '100px' }, className: 'this-class', src: 'www.blackboard.com' }, children: [ { tag: 'span', props: { style: { color: 'blue' } } } ] } }