Sha256: b2897162e361b86e26685f19d887f2f7257873cc2a942e42be7f711f252c482d

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

import { Action } from "./action";
import { Binding } from "./binding";
import { Context } from "./context";
import { ErrorHandler } from "./error_handler";
import { Schema } from "./schema";
import { Token, ValueListObserverDelegate } from "@stimulus/mutation-observers";
export interface BindingObserverDelegate extends ErrorHandler {
    bindingConnected(binding: Binding): void;
    bindingDisconnected(binding: Binding): void;
}
export declare class BindingObserver implements ValueListObserverDelegate<Action> {
    readonly context: Context;
    private delegate;
    private valueListObserver?;
    private bindingsByAction;
    constructor(context: Context, delegate: BindingObserverDelegate);
    start(): void;
    stop(): void;
    readonly element: Element;
    readonly identifier: string;
    readonly actionAttribute: string;
    readonly schema: Schema;
    readonly bindings: Binding[];
    private connectAction;
    private disconnectAction;
    private disconnectAllActions;
    parseValueForToken(token: Token): Action | undefined;
    elementMatchedValue(element: Element, action: Action): void;
    elementUnmatchedValue(element: Element, action: Action): void;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@stimulus/core/dist/src/binding_observer.d.ts