Skip to content

Commit

Permalink
Update AbstractControl.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bietkul committed Aug 19, 2018
1 parent b810c7c commit a2d1b56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api/AbstractControl.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ If the control has any children, it will also mark all children as `untouched` t
```ts
markAsDirty(opts: {
onlySelf?: boolean;
emitEvent?: boolean;
} = {}): void
```
Marks the control as `dirty`.
Expand All @@ -201,6 +202,7 @@ This will also mark all direct ancestors as `dirty` to maintain the model.
```ts
markAsPristine(opts: {
onlySelf?: boolean;
emitEvent?: boolean;
} = {}): void
```
Marks the control as `pristine`.
Expand Down

0 comments on commit a2d1b56

Please sign in to comment.