August 2019
Intermediate to advanced
257 pages
3h 38m
English
In the last chapter, we talked about rendering, or more generally, how to draw DOM elements that match with our data. But a web application is not a painting; its contents change over time. The cause of these changes is events.
Events, regardless that they are created by the user or by the system, are a very important aspect of the DOM API. The purpose of this chapter is to understand how to manage these events in a frameworkless application.
The first part of the chapter is an introduction to the DOM Events API. You will learn what an event handler is and how ...