(type, detail)
| 507 | |
| 508 | class Events { |
| 509 | static fire(type, detail) { |
| 510 | window.dispatchEvent(new CustomEvent(type, { detail: detail })); |
| 511 | } |
| 512 | |
| 513 | static on(type, callback) { |
| 514 | return window.addEventListener(type, callback, false); |
no outgoing calls
no test coverage detected