There was an error while loading. Please reload this page.
Alerts consist of just the alert dialog.
The alert dialog should consist of the following:
"dqpl-alert"
role="alertdialog"
id
data-dialog-modal
<div class="dqpl-alert" role="alertdialog"></div>
"dqpl-dialog-inner"
"dqpl-content"
"info"
"dqpl-buttons"
<button class="dqpl-button-primary set" aria-describedby="info">Set</button>
In addition, adding the "data-force-action="true" attribute will prevent the dqpl javascript from allowing the alert to be closed via escape keydown.
"data-force-action="true"
Also, adding the "data-no-resize="true" attribute will prevent the dqpl javascript from responsively resizing the alert content's height.
"data-no-resize="true"
<button class="dqpl-button-secondary" type="button" data-alert-id="demo-1">Delete</button> <div class="dqpl-alert" id="demo-1" role="alertdialog"> <div class="dqpl-inner"> <div class="dqpl-content" id="info"> <div class="dqpl-text">Are you sure you want to delete that?</div> </div> <div class="dqpl-buttons"> <button class="dqpl-button-primary set" aria-describedby="info">Delete</button> <button class="dqpl-button-secondary cancel">Cancel</button> </div> </div> </div>