MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / toggleExtras

Function toggleExtras

src/sidebarApps/searchInFiles/index.js:165–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163}
164
165function toggleExtras() {
166 showExtras = !showExtras;
167 $headerEl.el.classList.toggle("show-extras", showExtras);
168 const $btn = $headerEl.el.querySelector(".actions button:last-child");
169 if ($btn) $btn.classList.toggle("active", showExtras);
170 useIncludeAndExclude = showExtras;
171 if ($exclude.el?.value || $include.el?.value) {
172 onInput();
173 }
174}
175
176export default [
177 "search",

Callers

nothing calls this directly

Calls 1

toggleMethod · 0.80

Tested by

no test coverage detected