Skip to content

Instantly share code, notes, and snippets.

Sameul Zhang shockw4ver

Block or report user

Report or block shockw4ver

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
shockw4ver / ngModel.ts
Created Mar 18, 2019
source of ngModel
View ngModel.ts
selector: '[ngModel]:not([formControlName]):not([formControl])',
providers: [formControlBinding],
exportAs: 'ngModel'
export class NgModel extends NgControl implements OnChanges,
OnDestroy {
public readonly control: FormControl = new FormControl();
/** @internal */
_registered = false;
You can’t perform that action at this time.