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

Method prepareActionEvent

src/core/binding.ts:70–72  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

68 }
69
70 private prepareActionEvent(event: Event): ActionEvent {
71 return Object.assign(event, { params: this.action.params })
72 }
73
74 private invokeWithEvent(event: ActionEvent) {
75 const { target, currentTarget } = event

Callers 1

handleEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected