MCPcopy Index your code
hub / github.com/microsoft/SandDance / handler

Function handler

docs/app/js/sanddance-app.js:141997–141997  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141995 */ function target(bind2, node, param, view) {
141996 const type = param.event || "input";
141997 const handler = ()=>bind2.update(node.value); // initialize signal value to external input value
141998 view.signal(param.signal, node.value); // listen for changes on the element
141999 node.addEventListener(type, handler); // register with view, so we can remove it upon finalization
142000 trackEventListener(view, node, type, handler); // propagate change to element

Callers 6

animationQueueMethod · 0.70
_emitMethod · 0.70
debounceFunction · 0.70
resizeRendererFunction · 0.70
addOperatorListenerFunction · 0.70
animationQueueMethod · 0.50

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected