MCPcopy Create free account
hub / github.com/zxlie/FeHelper / _bindOmniSelectionEvents

Function _bindOmniSelectionEvents

apps/json-format/content-script.js:445–457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443 };
444
445 let _bindOmniSelectionEvents = () => {
446 if (omniSelectionEventsBound) {
447 return;
448 }
449 omniSelectionEventsBound = true;
450
451 document.addEventListener('fh-json-selection-change', event => {
452 event.detail && _refreshOmniSelectionState();
453 });
454 document.addEventListener('fh-json-format-ready', event => {
455 _renderOmniSearchState();
456 });
457 };
458
459 let _bindOmniToolbar = () => {
460 let toolbar = $('#jfToolbar');

Callers 1

_bindOmniToolbarFunction · 0.85

Calls 3

_renderOmniSearchStateFunction · 0.85
addEventListenerMethod · 0.45

Tested by

no test coverage detected