Observable Props
bindObservableProp
Section titled “bindObservableProp”export function bindObservableProp<TInput, TValue = TInput>( plugin: ObservablePropHost, options: ObservablePropBindingOptions<TInput, TValue>,): TValue;ObservablePropHost
Section titled “ObservablePropHost”interface ObservablePropHost { revogrid: HTMLRevoGridElement; addEventListener(eventName: any, callback: (event: CustomEvent<any>) => void): void}ObservablePropSource
Section titled “ObservablePropSource”export type ObservablePropSource = 'initial' | 'property' | 'additionalData';ObservablePropBindingOptions
Section titled “ObservablePropBindingOptions”interface ObservablePropBindingOptions { prop: string; propAliases?: string[]; additionalDataKey?: keyof AdditionalData & string; additionalDataAliases?: (keyof AdditionalData & string)[]; defaultValue?: TInput; map?: (value: TInput | undefined, source: ObservablePropSource) => TValue; equals?: (previous: TValue, next: TValue) => boolean; apply?: (value: TValue, source: ObservablePropSource) => void}