Review main Merged

63336[FEATURE] Add JavaScript event handling API

Andreas Kienast CR +2 V +2 Hard +633 −246 updated 02/22/20, 16:43

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 14