-
This patch adds API for event handling in JavaScript. The goal is to have an easy-to-use event handling and delegation by shipping several event strategies. Debounce: Debounces an event listener that is executed after the event happened, either at the start or at the end. A debounced event listener is not executed again until a certain amount of time has passed without it being called. RequestAnimationFrame: Traps an event listener into the browser's native rAF API. Throttle: Throttles the event listener to be called only after a defined time during the event's execution over time. Resolves: #90471 Releases: master Change-Id: I407f9b98a13f998bbf0879614002223b304389b0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63336 Reviewed-by: Markus Klein <markus.klein@typo3.org> Reviewed-by: Susanne Moog <look@susi.dev> Tested-by: Markus Klein <markus.klein@typo3.org> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Susanne Moog <look@susi.dev>
335697ac