This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Part of [Canivete](http://canivete.leofavre.com/#waitinpromise) | |
| * | |
| * Delays the chaining of a promise by a specified | |
| * time in milliseconds. | |
| * | |
| * The function is curried so as to be used inside | |
| * the `.then()` method, passing along the resolved | |
| * value from the previous promise step to the next. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Component } from '@angular/core'; | |
| import { async, TestBed } from '@angular/core/testing'; | |
| import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms'; | |
| import { By } from '@angular/platform-browser'; | |
| import { SyncControlDirective } from './sync-control.directive'; | |
| class FormGroupHostComponent { | |
| formGroup = new FormGroup({ | |
| ctrl: new FormControl('') | |
| }); |
OlderNewer