MCPcopy
hub / github.com/hotwired/stimulus / stop

Method stop

src/mutation-observers/element_observer.ts:50–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 stop() {
51 if (this.started) {
52 this.mutationObserver.takeRecords()
53 this.mutationObserver.disconnect()
54 this.started = false
55 }
56 }
57
58 refresh() {
59 if (this.started) {

Callers

nothing calls this directly

Calls 1

disconnectMethod · 0.45

Tested by

no test coverage detected