Skip to content

Instantly share code, notes, and snippets.

@clintonyeb
Last active May 19, 2020 02:32
Show Gist options
  • Save clintonyeb/20e61633bf03c5ea1eed148801521545 to your computer and use it in GitHub Desktop.
Save clintonyeb/20e61633bf03c5ea1eed148801521545 to your computer and use it in GitHub Desktop.
import { Component, Input, OnInit } from '@angular/core';
import { Record } from './models/Record';
import { AppService } from './app.service';
import { Observable } from 'rxjs';
import { Search } from './models/Search';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
})
export class AppComponent implements OnInit {
records: Array<Record>;
fetchedRecords: Array<Record>;
sort = true;
constructor(private appService: AppService) {}
ngOnInit(): void {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment