MCPcopy
hub / github.com/livebud/bud / add_event_handler

Function add_event_handler

package/svelte/compiler.js:17841–17843  ·  view source on GitHub ↗
(block, target, handler)

Source from the content-addressed store, hash-verified

17839 handlers2.forEach((handler) => add_event_handler(block, target, handler));
17840 }
17841 function add_event_handler(block, target, handler) {
17842 handler.render(block, target);
17843 }
17844 function add_actions(block, target, actions) {
17845 actions.forEach((action) => add_action(block, target, action));
17846 }

Callers 2

add_event_handlersFunction · 0.85

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected