Interface BindingObserversToElementArgs

The interface for arguments for the BindingObserversToElement constructor.

interface BindingObserversToElementArgs {
    customUpdate?: (
        element: IBindable,
        observers: Observer[],
        paths: string[],
    ) => void;
    element?: IBindable;
    history?: History;
    historyCombine?: boolean;
    historyName?: string;
    historyPostfix?: string;
    historyPrefix?: string;
}

Hierarchy (View Summary)

Properties

customUpdate?: (
    element: IBindable,
    observers: Observer[],
    paths: string[],
) => void

Custom update function.

element?: IBindable

The IBindable element.

history?: History

The history object which will be used to record undo / redo actions. If none is provided then no history will be recorded.

historyCombine?: boolean

Whether to combine history actions.

historyName?: string

The name of each history action.

historyPostfix?: string

A postfix that will be used for the name of every history action.

historyPrefix?: string

A prefix that will be used for the name of every history action.