skip to Main Content

Html – css property – initial-value overwrites setting from outside

I'm working on a angular-project. I have the following component class: export class ReservationTableComponent implements OnInit { @Input({ required: true }) table!: Table; @Input() set colMinWidth(value: string) { this.renderer.setStyle(this.el.nativeElement, "--grid-column-min-width", value); } @Input() set colMaxWidth(value: string) { this.renderer.setStyle(this.el.nativeElement, "--grid-column-max-width", value);…

VIEW QUESTION
Back To Top
Search