MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / addBeforeProcessHook

Method addBeforeProcessHook

www/js/_hyperscript-max.js:2875–2877  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

2873 #beforeProcessHooks = [];
2874 #afterProcessHooks = [];
2875 addBeforeProcessHook(fn) {
2876 this.#beforeProcessHooks.push(fn);
2877 }
2878 addAfterProcessHook(fn) {
2879 this.#afterProcessHooks.push(fn);
2880 }

Callers 3

initLiveTemplatesFunction · 0.45
componentPluginFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected