Javascript Tutorial: Event listener (handler) with parameters

preview_player
Показать описание
Javascript Tutorial: Event listener (handler) with parameters (other than the default 'event')

0:00 - Introduction
0:32 - Create the listener / handler function
1:32 - Add the listener to the element
2:06 - Demo
2:32 - Comments on this "curry" solution
3:15 - Remove the listener

* Track info:
Creative Commons — Attribution 3.0 Unported — CC BY 3.0

Tags:
#javascript #functional #javascripttutorial
JS event handler with parameters, JS event listener with arguments, currying, partial application, higher-order functions, Javascript tutorial, learn javascript programming, coding, webdev, web development, frontend tips and tricks
Рекомендации по теме
Комментарии
Автор

Learn more about currying in Javascript:

EmiliaKaida
Автор

Thanks, it's just what I needed. 😃

pedropaulop