Takes the event listener function. Uses the previously constructed types for delegator elements and event instances to provide full type inference inside listener callbacks.
returns one EventHandler
instance when the build started with either
global()
or within()
,
or an array of EventHandler instances when the build started with
withinMany()
.
Method signatures that set the event listener function and return event handlers.
AskRoot
=>AskEvent
=>AskSelector
=>AskListener
buildsEventHandler