Crestron Components Lib - Showcase App

ch5-modal-dialog: mask

attribute: mask

The default value is false. If true, applies the default style for the background mask (or the style found in maskStyle if defined).

If the attribute is present and different from '0' or 'false', then it is considered to be 'true'.

Click the above button to make the modal visible.

Sample text

<ch5-button label="Trigger show pulse" sendEventOnClick="trigger_1"></ch5-button>

<p>
    Click the above button to make the modal visible.
</p>

<ch5-modal-dialog
        receiveStateShowPulse="trigger_1"
        closable
        mask>
    <p>Sample text</p>
    <ch5-image
            id="ex1-img"
            url="https://picsum.photos/200/300/?random">
    </ch5-image>
</ch5-modal-dialog>