Dustan Kasten is a developer advocate at Skookum Digital Works. He spends his time exploring ideas behind browser-based UI application development. He still believes the web has the potential to build compelling interfaces that can compete with native platforms.
Responding to user input is arguably the core of what we do as interface developers. In order to build responsive web products, understanding how touch, mouse, pointer and keyboard actions and the browser work together is key. You have likely experienced the 300-millisecond delay in mobile browsers or wrestled with touchmove versus scrolling.
In this article we will introduce the event cascade and use this knowledge to implement a demo of a tap event that supports the many input methods while not breaking in proxy browsers such as Opera Mini.