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

Method show

ui/media/js/image-editor.js:547–551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

545 this.setSize(512, 512)
546 }
547 show() {
548 this.popup.classList.add("active")
549 document.addEventListener("keydown", this.keyHandlerBound, true)
550 document.addEventListener("keyup", this.keyHandlerBound, true)
551 }
552 hide() {
553 this.popup.classList.remove("active")
554 document.removeEventListener("keydown", this.keyHandlerBound, true)

Callers 3

image-editor.jsFile · 0.80

Calls 2

addMethod · 0.45
addEventListenerMethod · 0.45

Tested by

no test coverage detected