Today I Learned - Rocky Kev

Tagged “click”

  1. TIL the Doherty Threshold

    If a computer responds to a users input in less than 400ms, the user will take less time to make their next decision.

  2. TIL addEventListener's third param

    The mysterious useCapture and options.

  3. TIL adding an Event Listener to document

    When an element in the DOM is clicked, the event bubbles all the way up to the parent element (the document and then the window). This allows you to listen for events on the parent item and still detect clicks that happen inside it.

See all tags.