Abstract
When the JavaScript runtime in a browser executes application code written in JavaScript, it uses the techniques of events and event handling. When the browser accesses web pages from back-end servers and when the users interact with the browser, the JavaScript runtime publishes the DOM events. The application code handles the DOM events in the event handlers. The DOM event handlers are the entry points to developing web applications. Events and event handling are part of the programming model of JavaScript web application development.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
For more information about web event handling, visit https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Overview_of_Events_and_Handlers .
- 2.
See this online tutorial that defines events as signals that something has happened: https://javascript.info/introduction-browser-events .
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Yiyi Sun
About this chapter
Cite this chapter
Sun, Y. (2019). Event Patterns. In: Practical Application Development with AppRun. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4069-4_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4069-4_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4068-7
Online ISBN: 978-1-4842-4069-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books