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

Commit 364e597

Browse files
committed
Update forms.ngdoc
docs(forms): Fixed a typo. render -> $render
1 parent 23abb99 commit 364e597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/forms.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ However, if you need more flexibility, you can write your own form control as a
278278

279279
In order for custom control to work with `ngModel` and to achieve two-way data-binding it needs to:
280280

281-
- implement `render` method, which is responsible for rendering the data after it passed the {@link api/ng.directive:ngModel.NgModelController#$formatters NgModelController#$formatters},
281+
- implement `$render` method, which is responsible for rendering the data after it passed the {@link api/ng.directive:ngModel.NgModelController#$formatters NgModelController#$formatters},
282282
- call `$setViewValue` method, whenever the user interacts with the control and model needs to be updated. This is usually done inside a DOM Event listener.
283283

284284
See {@link guide/directive $compileProvider.directive} for more info.

0 commit comments

Comments
 (0)