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}.

    Parameters

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

    Returns PropertyDecorator