@open-rlb/ng-bootstrap 3.1.26 → 3.1.27
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.
|
@@ -4245,6 +4245,7 @@ class NavbarDropdownItemComponent {
|
|
|
4245
4245
|
this.viewContainerRef.element.nativeElement.remove();
|
|
4246
4246
|
const anchor = this.element.querySelector('a');
|
|
4247
4247
|
if (anchor && this.dropdown()) {
|
|
4248
|
+
anchor.setAttribute('data-bs-auto-close', this._autoClose());
|
|
4248
4249
|
this.dropdownInstance = Dropdown.getOrCreateInstance(anchor);
|
|
4249
4250
|
this.listeners.push(this.renderer.listen(anchor, 'show.bs.dropdown', () => this.statusChanged.emit('show')), this.renderer.listen(anchor, 'shown.bs.dropdown', () => this.statusChanged.emit('shown')), this.renderer.listen(anchor, 'hide.bs.dropdown', () => this.statusChanged.emit('hide')), this.renderer.listen(anchor, 'hidden.bs.dropdown', () => this.statusChanged.emit('hidden')));
|
|
4250
4251
|
}
|