docs: use defineEventHandler
instead of eventHandler
#1442
Merged
defineEventHandler
instead of eventHandler
#1442