gd-bs 6.3.1 → 6.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,6 +114,11 @@ var _Toast = /** @class */ (function (_super) {
114
114
  _this.props.onClick(_this.el, _this.props.data);
115
115
  });
116
116
  }
117
+ // See if we are auto-hiding this toast
118
+ if (this.props.options && this.props.options.autohide) {
119
+ // Wait for the delay
120
+ setTimeout(this.hide.bind(this), this.props.options.delay || 5000);
121
+ }
117
122
  };
118
123
  /**
119
124
  * Public Interface