MCPcopy
hub / github.com/xaboy/form-create / emit

Function emit

packages/core/src/frame/api.js:625–630  ·  view source on GitHub ↗
(name, ...args)

Source from the content-addressed store, hash-verified

623 h.deferSyncValue(fn, sync);
624 },
625 emit(name, ...args) {
626 if (h.vm.emitsOptions && !h.vm.emitsOptions[name]) {
627 h.vm.emitsOptions[name] = null;
628 }
629 h.vm.emit(name, ...args);
630 },
631 bus: h.bus,
632 getCurrentFormRule() {
633 return h.vm.setupState.getGroupInject()?.rule;

Callers

nothing calls this directly

Calls 1

emitMethod · 0.80

Tested by

no test coverage detected