1 Repositories
JavaScript windowatch Libraries
Windowatch - a singleton class managing scroll-, resize- and breakpoint-change events globally
Windowatch is a singleton class managing scroll-, resize- and breakpoint-change events globally. It uses passive resize & scroll event listeners and requestAnimationFrame to optimize dom interactions (get, update). It removes unnecessary window event listeners automatically, if no listeners are attached.
Feb 24, 2022