build: remove unneeded style code for ngClass and ngStyle (#34998)
With the release of Flex Layout v9.0.0-beta.28, some added code after the recent styling refactor is no longer needed. PR Close #34998
This commit is contained in:
@ -157,11 +157,4 @@ export class NgClass implements DoCheck {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(misko): Delete this code after angula/flex-layout stops depending on private APIs
|
||||
// We need to export this to make angular/flex-layout happy
|
||||
// https://github.com/angular/flex-layout/blob/ec7b57eb6adf59ecfdfff1de5ccf1ab2f6652ed3/src/lib/extended/class/class.ts#L9
|
||||
setClass(value: string) { this.klass = value; }
|
||||
setNgClass(value: any) { this.ngClass = value; }
|
||||
applyChanges() { this.ngDoCheck(); }
|
||||
}
|
||||
|
@ -85,10 +85,4 @@ export class NgStyle implements DoCheck {
|
||||
changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
|
||||
changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
|
||||
}
|
||||
|
||||
// TODO(misko): Delete this code after angula/flex-layout stops depending on private APIs
|
||||
// We need to export this to make angular/flex-layout happy
|
||||
// https://github.com/angular/flex-layout/blob/ec7b57eb6adf59ecfdfff1de5ccf1ab2f6652ed3/src/lib/extended/class/class.ts#L9
|
||||
setNgStyle(value: any) { this.ngStyle = value; }
|
||||
applyChanges() { this.ngDoCheck(); }
|
||||
}
|
||||
|
Reference in New Issue
Block a user