p.location-badge.
exported from angular2/forms
defined in angular2/src/forms/directives.js (line 37)
:markdown
The default accessor for writing a value and listening to changes that is used by a Control directive.
This is the default strategy that Angular uses when no other accessor is applied.
# Example
```
```
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor()
:markdown
.l-sub-section
h3 onChange
:markdown
.l-sub-section
h3 value
:markdown
.l-sub-section
h3 writeValue
pre.prettyprint
code.
writeValue(value)
:markdown