initialized

Triggered when the dialog is initialized.

Parameters

NameTypeDescription
e {object} event data

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,
         initialized: function (e) {
             alert('The initialized event is fired.');
         }
     });
 </script>