MCPcopy Index your code
hub / github.com/MALSync/MALSync / setSearchObj

Method setSearchObj

src/pages-sync/syncPage.ts:153–160  ·  view source on GitHub ↗
(searchObj)

Source from the content-addressed store, hash-verified

151 }
152
153 setSearchObj(searchObj) {
154 if (searchObj) {
155 showFloatbutton();
156 } else if (api.settings.get('floatButtonCorrection')) {
157 hideFloatbutton();
158 }
159 this.searchObj = searchObj;
160 }
161
162 async handlePage(curUrl = window.location.href) {
163 let state: pageState;

Callers 2

resetMethod · 0.95
handlePageMethod · 0.95

Calls 3

showFloatbuttonFunction · 0.90
hideFloatbuttonFunction · 0.90
getMethod · 0.65

Tested by

no test coverage detected