ThreePipe
    Preparing search index...

    Function bindToValue

    • Binds a property to a value in an object. If the object is a string, it is used as a property name in this.

      Parameters

      • obj: {
            allowUndefined?: boolean;
            invProcessVal?: (val: any) => any;
            key?: ValOrFunc<ValOrArr<string | symbol>>;
            obj?: any;
            onChange?: string | ((...args: any[]) => any);
            onChangeParams?: boolean;
            processVal?: (newVal: any) => any;
        }

        object to bind to. If a string, it is used as a property name in this. If a function, it is called and the result is used as the object/string.

      Returns PropertyDecorator