openModalPopup

Description
Click here for more information.
Type
Function

An example of a modal is shown below. It can be shown by clicking on a panel.

image

Here are a few different ways to customize the openModalPopup object, you may configure the colours, height, width, etc.

1. window.GEVME.utils.openModalPopup({ html: '<div style="padding: 24px;">Any html here</div>', height: 'auto', width: '75%', backgroundColor: 'red' })
2. window.GEVME.utils.openModalPopup({ contentBlock: window.GEVME.livepage.showcaseblocksweight[0], height: 'auto', width: '75%', backgroundColor: 'white' })
3. window.GEVME.utils.openModalPopup({ contentBlock: window.GEVME.livepage.showcaseblocks['Block-Name'], height: 'auto', width: '75%', backgroundColor: 'blue' })
4. window.GEVME.utils.openModalPopup({ contentBlockName: 'Block-Name', height: 'auto', width: '75%', backgroundColor: 'pink' })