MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / toggleModelList

Method toggleModelList

ui/media/js/searchable-models.js:343–353  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

341 }
342
343 toggleModelList(e) {
344 e.preventDefault()
345 if (!this.modelFilter.disabled) {
346 if (this.modelList.style.display != "block") {
347 this.showModelList()
348 } else {
349 this.hideModelList()
350 this.modelFilter.select()
351 }
352 }
353 }
354
355 selectEntry(path, dispatchEvent = true) {
356 if (path !== undefined) {

Callers

nothing calls this directly

Calls 2

showModelListMethod · 0.95
hideModelListMethod · 0.95

Tested by

no test coverage detected