off()

Remove the given handler on particular event.

off(event: String, func: Function): Core

* presents a required parameter

  • event * — The event name
  • func * — The event handler.

const invalidFieldHandler = function(field) {
    // field is name of invalid field
    ...
};

fv.off('core.field.invalid', invalidFieldHandler);