Skip to content

Files

Latest commit

 

History

History
8 lines (5 loc) · 227 Bytes

redundant-event-modifier.md

File metadata and controls

8 lines (5 loc) · 227 Bytes

Pattern: Redundant event modifier

Issue: -

Description

Rule #1: Touch event handlers that don't use the event object are passive by default. Rule #2: The passive modifier only works with wheel and touch events.