MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / setSidePanelToggleState

Function setSidePanelToggleState

Script/FastDork.js:1820–1824  ·  view source on GitHub ↗
(enabled)

Source from the content-addressed store, hash-verified

1818 }
1819
1820 function setSidePanelToggleState(enabled) {
1821 if (!UI.sidePanelToggle) return;
1822 UI.sidePanelToggle.checked = Boolean(enabled);
1823 UI.sidePanelToggle.setAttribute("aria-checked", String(Boolean(enabled)));
1824 }
1825
1826 async function setSidePanelActionBehavior(enabled) {
1827 if (!chrome.sidePanel?.setPanelBehavior) return;

Callers 3

loadSidePanelPreferenceFunction · 0.85
handleResetAllDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected