diff --git a/index.html b/index.html
index 0747f98..a3ec7aa 100644
--- a/index.html
+++ b/index.html
@@ -910,6 +910,7 @@
';
+ if (this.options.onClosed) {
+ $('#' + this.id + ' .alert').on('closed.bs.alert', this.options.onClosed);
+ }
+
if (this.options.alert) {
$('#' + this.id + ' .alert').alert();
}