(...fns)
| 209 | * @return {Function} the event handler to add to an element |
| 210 | */ |
| 211 | export function composeEventHandlers(...fns) { |
| 212 | return (event, ...args) => |
| 213 | fns.some((fn) => { |
| 214 | if (!isPropagationStopped(event) && fn) { |
| 215 | fn(event, ...args); |
| 216 | } |
| 217 | return isPropagationStopped(event); |
| 218 | }); |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * canUseFileSystemAccessAPI checks if the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) |
no test coverage detected
searching dependent graphs…