© Adam Freeman 2017

Adam Freeman, Pro Angular, 10.1007/978-1-4842-2307-9_14

14. Using Events and Forms

Adam Freeman

(1)MILTON KEYNES MK6 3PA, UK

In this chapter, I continue describing the basic Angular functionality, focusing on features that respond to user interaction. I explain how to create event bindings and how to use two-way bindings to manage the flow of data between the model and the template. One of the main forms of user interaction in a web application is the use of HTML forms, and I explain how event and two-way data bindings are used to support them and validate the content that the user provides. Table 14-1 puts events and forms in context.

Table 14-1. Putting Event Bindings and Forms in Context

Question

Answer

What are they?

Event bindings ...

Get Pro Angular, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.