MCPcopy
hub / github.com/zxlie/FeHelper / _emitFormatReady

Function _emitFormatReady

apps/json-format/format-lib.js:1139–1146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1137 };
1138
1139 let _emitFormatReady = function () {
1140 try {
1141 document.dispatchEvent(new CustomEvent('fh-json-format-ready', {
1142 detail: _getSelectionInfo(_getSelectedJsonElement())
1143 }));
1144 } catch (e) {
1145 }
1146 };
1147
1148 let _selectJsonElement = function (el, opts) {
1149 opts = opts || {};

Callers 2

formatFunction · 0.85
formatSyncFunction · 0.85

Calls 2

_getSelectionInfoFunction · 0.85
_getSelectedJsonElementFunction · 0.85

Tested by

no test coverage detected