Listener return is boolean or void

This commit is contained in:
Tim Schaub
2018-09-07 09:10:31 -06:00
parent b6746d3432
commit ef4936de4a

View File

@@ -22,7 +22,7 @@ import {clear} from './obj.js';
* Listener function. This function is called with an event object as argument.
* When the function returns `false`, event propagation will stop.
*
* @typedef {function(import("./events/Event.js").default)|function(import("./events/Event.js").default): boolean} ListenerFunction
* @typedef {function(import("./events/Event.js").default): (void|boolean)} ListenerFunction
* @api
*/