qms-angular 1.1.30 → 1.1.31
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.
@@ -4378,11 +4378,15 @@
|
|
4378
4378
|
this.renderer = renderer;
|
4379
4379
|
}
|
4380
4380
|
QMSListExpansionHeader.prototype.onClick = function ($event) {
|
4381
|
-
var
|
4382
|
-
|
4383
|
-
|
4384
|
-
|
4385
|
-
|
4381
|
+
var _this = this;
|
4382
|
+
setTimeout(function () {
|
4383
|
+
if (_this.elRef.nativeElement.classList.contains('mat-expanded')) {
|
4384
|
+
_this.renderer.addClass(_this.elRef.nativeElement, 'active-item');
|
4385
|
+
}
|
4386
|
+
else {
|
4387
|
+
_this.renderer.removeClass(_this.elRef.nativeElement, 'active-item');
|
4388
|
+
}
|
4389
|
+
}, 200);
|
4386
4390
|
};
|
4387
4391
|
QMSListExpansionHeader.prototype.ngAfterContentInit = function () {
|
4388
4392
|
core.setLines(this._lines, this.elRef);
|