MCPcopy
hub / github.com/GrapesJS/grapesjs / toggle

Method toggle

packages/core/src/abstract/ModuleCategoryView.ts:78–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 toggle() {
79 var model = this.model;
80 model.set('open', !model.get('open'));
81 }
82
83 getIconEl() {
84 if (!this.iconEl) {

Callers 1

cash-dom.tsFile · 0.45

Calls 2

setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected