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

Method connectAction

src/core/binding_observer.ts:60–64  ·  view source on GitHub ↗
(action: Action)

Source from the content-addressed store, hash-verified

58 }
59
60 private connectAction(action: Action) {
61 const binding = new Binding(this.context, action)
62 this.bindingsByAction.set(action, binding)
63 this.delegate.bindingConnected(binding)
64 }
65
66 private disconnectAction(action: Action) {
67 const binding = this.bindingsByAction.get(action)

Callers 1

elementMatchedValueMethod · 0.95

Calls 2

bindingConnectedMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected