Tag: required parameter
-
Required @Input properties in Angular
Angular 16 adds a new future of making an @Input() decorated property REQUIRED, which means that to use that component, the value of the required property has to be passed. To Understand it, let us assume that you have a component named ProductComponent with @Input() decorated properties as shown below, We are using ProductComponent inside…