MCPcopy Create free account
hub / github.com/devforth/painterro / getAvailableOptions

Method getAvailableOptions

js/inserter.js:189–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187 }
188
189 getAvailableOptions() {
190 if (this.main.params.how_to_paste_actions) {
191 // filter out only to selected
192 return Object.keys(this.activeOption).filter(
193 actionName => this.main.params.how_to_paste_actions.includes(actionName),
194 );
195 }
196 return Object.keys(this.activeOption);
197 }
198
199 handleOpen(src, mimetype) {
200 this.startLoading();

Callers 3

initMethod · 0.95
handleItMethod · 0.95
htmlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected