MCPcopy
hub / github.com/codex-team/editor.js / open

Method open

src/components/ui/toolbox.ts:203–211  ·  view source on GitHub ↗

* Open Toolbox with Tools

()

Source from the content-addressed store, hash-verified

201 * Open Toolbox with Tools
202 */
203 public open(): void {
204 if (this.isEmpty) {
205 return;
206 }
207
208 this.popover?.show();
209 this.opened = true;
210 this.emit(ToolboxEvent.Opened);
211 }
212
213 /**
214 * Close Toolbox

Callers 1

toggleMethod · 0.95

Calls 2

emitMethod · 0.65
showMethod · 0.45

Tested by

no test coverage detected