Skip to content

Commit

Permalink
Update AbstractControl.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuldeep Saxena authored Dec 29, 2017
1 parent db3a1f7 commit ae81533
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/api/AbstractControl.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,20 @@ clearAsyncValidators(): void
Empties out the async validator list.
##
```ts
markAsSubmitted: (opts?: {emitEvent?: boolean}) => void;
```
Marks the control as `submitted`.

If the control has any children, it will also mark all children as `submitted`.
##
```ts
markAsUnsubmitted: (opts?: {emitEvent?: boolean}) => void;
```
Marks the control as `unsubmitted`.

If the control has any children, it will also mark all children as `unsubmitted`.
##
```ts
markAsTouched(opts: {
onlySelf?: boolean;
} = {}): void
Expand Down

0 comments on commit ae81533

Please sign in to comment.