Skip to content

Instantly share code, notes, and snippets.

View kapunahelewong's full-sized avatar

Kapunahele Wong kapunahelewong

  • United States
View GitHub Profile
@brandonroberts
brandonroberts / customer.component.ts
Last active May 30, 2020 12:20
Observables from blur events
import { Component, OnInit, AfterViewInit, ViewChildren, ElementRef } from '@angular/core';
import { FormGroup, FormBuilder, Validators, AbstractControl, FormControlName } from '@angular/forms';
import 'rxjs/add/operator/debounceTime';
import 'rxjs/add/observable/fromEvent';
import 'rxjs/add/observable/merge';
import { Observable } from 'rxjs/Observable';
import { Customer } from './customer';
import { GenericValidator } from '../shared/generic-validator';