Which method is used to submit a form in Angular?
- formSubmit()
- ngSubmit()
- postForm()
- submitForm()
In Angular, the method used to submit a form is typically ngSubmit(). It's a commonly used event handler that is triggered when a form is submitted.
Loading...
Related Quiz
- What is the primary purpose of two-way data binding in Angular?
- To perform side-effect-free computations synchronously, Angular provides a testing utility known as _____.
- What is the purpose of the next() method in a Subject?
- What is the primary advantage of using the async pipe in Angular templates?
- For a form control, setting the _____ property ensures that the validation status is updated only when the control loses focus.