MCPcopy
hub / github.com/tdewolff/minify / onLoad

Function onLoad

_benchmarks/sample_antd.js:88880–88882  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88878 var isLoaded = react__WEBPACK_IMPORTED_MODULE_6__["useRef"](false);
88879
88880 var onLoad = function onLoad() {
88881 setStatus('normal');
88882 };
88883
88884 var onError = function onError(e) {
88885 if (onImageError) {

Callers 6

getImgRefFunction · 0.70
TreeFunction · 0.70
sample_ace.jsFile · 0.70
afterLoadFunction · 0.70
ace.jsFile · 0.50
afterLoadFunction · 0.50

Calls 1

setStatusFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…