Opens the dialog.
Fires
opening, openedParameters
Name | Type | Description |
---|---|---|
title | {String} | The dialog title. |
Examples
Sample
<div id="dialog" style="display: none">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
<button onclick="dialog.open()" class="gj-button-md">Open Dialog</button>
<script>
var dialog = $('#dialog').dialog({
autoOpen: false
});
</script>
Title
<div id="dialog" style="display: none">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
<button onclick="dialog.open('Custom Text')" class="gj-button-md">Open Dialog</button>
<script>
var dialog = $('#dialog').dialog({
autoOpen: false
});
</script>