Function onChange2

  • Similar to onChange, but accepts any function and paramType defaults to 'void'. The function is called with no parameters. if 'void'

    Parameters

    • fnKey: string | AnyFunction
    • paramType: "object" | "param" | "void" = "void"

    Returns PropertyDecorator