Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f1db7d7

Browse files
committed
docs(ngModelOptions): fix broken layout because of code section
1 parent b77defd commit f1db7d7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ng/directive/ngModelOptions.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,12 @@ defaultModelOptions = new ModelOptions({
313313
* - `debounce`: integer value which contains the debounce model update value in milliseconds. A
314314
* value of 0 triggers an immediate update. If an object is supplied instead, you can specify a
315315
* custom value for each event. For example:
316-
* `ng-model-options="{ updateOn: 'default blur', debounce: { 'default': 500, 'blur': 0 } }"`
316+
* ```
317+
* ng-model-options="{
318+
* updateOn: 'default blur',
319+
* debounce: { 'default': 500, 'blur': 0 }
320+
* }"
321+
* ```
317322
* - `allowInvalid`: boolean value which indicates that the model can be set with values that did
318323
* not validate correctly instead of the default behavior of setting the model to undefined.
319324
* - `getterSetter`: boolean value which determines whether or not to treat functions bound to

0 commit comments

Comments
 (0)