Web Interaction:

Asynchronous Content

Using an iterator on query selector node lists won’t work with asynchronously loaded content without a lot of extra work. For our web interaction components to function with both synchronous and asynchronous content, we’ll need to make a change. In this lesson, we explore various options for working in the asynchronous reality that is modern web applications. Finally, we’ll create global event listeners to allow our spin button capabilities to work with all types of content, regardless of origin.

Learn More

  1. matches() Support
  2. matches() Polyfill
  3. closest() Support
  4. closest() Polyfill
  5. Lesson Source Code
Lesson 6 of 34