Function onChange3

  • Similar to onChange, but accepts any function and paramType defaults to 'object'. The function is called with an object parameter: {key, value, oldValue, target}.

    Type Parameters

    • TTarget = any

    Parameters

    • fnKey: string | ((obj) => void)
    • paramType: "object" | "void" = 'object'

    Returns PropertyDecorator

Generated using TypeDoc