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

Method show

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

Source from the content-addressed store, hash-verified

167 }
168
169 show(): void {
170 switch (this._state) {
171 case 'unattached':
172 break;
173 case 'showing':
174 this.hide();
175 if (this._svg) {
176 this.render(this._svg, true);
177 }
178 break;
179 case 'not-showing':
180 this.attach();
181 if (this._svg) {
182 this.render(this._svg, false);
183 }
184 break;
185 }
186 }
187
188 hide(): void {
189 if (this._svg) {

Callers 2

RoughAnnotationImplClass · 0.95
refreshMethod · 0.95

Calls 3

hideMethod · 0.95
renderMethod · 0.95
attachMethod · 0.95

Tested by

no test coverage detected