interface ModelOptionsConfig {
    allowInvalid: boolean;
    debounce: number | {};
    getterSetter: boolean;
    updateOn: string;
    updateOnDefault: boolean;
}

Properties

allowInvalid: boolean

Indicates whether the model can be set with values that did not validate correctly. Defaults to false, which sets the model to undefined on validation failure.

debounce: number | {}

An integer specifying the debounce time in milliseconds. A value of 0 triggers an immediate update. If an object is supplied, custom debounce values can be set for each event.

getterSetter: boolean

Determines whether to treat functions bound to ngModel as getters/setters. Defaults to false.

updateOn: string

A string specifying which events the input should be bound to. Multiple events can be set using a space-delimited list. The special event 'default' matches the default events belonging to the control.

updateOnDefault: boolean