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

Method constructor

src/rough-notation.ts:21–25  ·  view source on GitHub ↗
(e: HTMLElement, config: RoughAnnotationConfig)

Source from the content-addressed store, hash-verified

19 _animationDelay = 0;
20
21 constructor(e: HTMLElement, config: RoughAnnotationConfig) {
22 this._e = e;
23 this._config = JSON.parse(JSON.stringify(config));
24 this.attach();
25 }
26
27 get animate() { return this._config.animate; }
28 set animate(value) { this._config.animate = value; }

Callers

nothing calls this directly

Calls 1

attachMethod · 0.95

Tested by

no test coverage detected