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

Interface BindingObserverDelegate

src/core/binding_observer.ts:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { Token, ValueListObserver, ValueListObserverDelegate } from "../mutation-observers"
7
8export interface BindingObserverDelegate extends ErrorHandler {
9 bindingConnected(binding: Binding): void
10 bindingDisconnected(binding: Binding, clearEventListeners?: boolean): void
11}
12
13export class BindingObserver implements ValueListObserverDelegate<Action> {
14 readonly context: Context

Callers 5

bindingConnectedMethod · 0.65
connectActionMethod · 0.65
bindingDisconnectedMethod · 0.65
disconnectActionMethod · 0.65
disconnectAllActionsMethod · 0.65

Implementers 2

Dispatchersrc/core/dispatcher.ts
EventListenersrc/core/event_listener.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…