opened

Triggered when the dialog is opened.

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