MCPcopy Index your code
hub / github.com/rough-stuff/rough-notation / hide

Method hide

src/rough-notation.ts:188–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186 }
187
188 hide(): void {
189 if (this._svg) {
190 while (this._svg.lastChild) {
191 this._svg.removeChild(this._svg.lastChild);
192 }
193 }
194 this._state = 'not-showing';
195 }
196
197 remove(): void {
198 if (this._svg && this._svg.parentElement) {

Callers 1

showMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected