MCPcopy Create free account
hub / github.com/breck7/scroll / setErrorHandler

Method setErrorHandler

external/.scrollLibs.js:24073–24077  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

24071 return this
24072 }
24073 setErrorHandler(fn) {
24074 window.addEventListener("error", fn)
24075 window.addEventListener("unhandledrejection", fn)
24076 return this
24077 }
24078 toggleFullScreen() {
24079 const doc = document
24080 if ((doc.fullScreenElement && doc.fullScreenElement !== null) || (!doc.mozFullScreen && !doc.webkitIsFullScreen)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected