Request for rendering a new modal.
An example request to render a div with a span child into a modal with some-modal-id:
some-modal-id
{ type: 'portal:render', modalId: 'some-modal-id', contents: { tag: 'div', attributes: { onClick: { callbackId: onDivClick, mode: 'async' } }, children: [ "Text can go here" ] } }
The content to be rendered in the modal.
The id for the object that triggers the new modal event.
Must be ModalNew.
Generated using TypeDoc
Request for rendering a new modal.
An example request to render a div with a span child into a modal with
some-modal-id
:{ type: 'portal:render', modalId: 'some-modal-id', contents: { tag: 'div', attributes: { onClick: { callbackId: onDivClick, mode: 'async' } }, children: [ "Text can go here" ] } }