Programming Tips - Bootstrap 4: Listen for dialog close

Date: 2019jul22 Language: javaScript Keywords: onClose Q. Bootstrap 4: Listen for dialog close A.
var dlg = $('#mydialog'); # jQuery dlg.on('hidden.bs.modal', function () { console.log('My dialog has closed'); });