企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## ngModelOptions > 属性 - `updateOn`: string specifying which event should the input be bound to. You can set several events using an space delimited list. There is a special event called `default` that matches the default events belonging to the control. - `debounce`: integer value which contains the debounce model update value in milliseconds. A value of 0 triggers an immediate update. If an object is supplied instead, you can specify a custom value for each event. For Example: ```javascript ng-model-option="{ updateOn: 'default blur', debounce: { 'default': 500, 'blur': 0 } }" ``` - `allownInvalid`: boolean value which indicates that the model can be set with values that dit not validate correctly instead of the default behavior of setting the model undefined. - `getterSetter`: boolean value which determines whether or not to treat functions bound to `ngModel` as getters/setters. - `timezone`: Defines the timezone to be used to read/write the `Date` instance in the model for `<input type="date"> /`, `<input type="time" />`,.... It understands UTC/GMT and the continental US time zone abbreviations, but for general use, use a time zone offset, for example, `+0430`(4hours, 30 minutes east of the Greenwich meridian). If not specified, the timezone of the brower will be used.