The _____ decorator in a component class binds a property inside the component to a value that is passed from outside the component.
- @Injectable
- @Input
- @Output
- @ViewChild
The @Input decorator in a component class binds a property inside the component to a value passed from outside the component.
Loading...
Related Quiz
- In a reactive form, which method is used to access a form control's value?
- In Angular, the _____ method is used to assert that a certain expectation is met in tests.
- What is a potential consequence of not unsubscribing from an observable in an Angular component?
- How can you apply a custom validator to a form control in Angular?
- A common practice to validate a group of related form controls is to use a custom _____ validator in Angular.