Vendor app Client: Maiora
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

dashboard.component.ts 484 B

123456789101112131415161718192021222324
  1. import { Component, OnInit } from '@angular/core';
  2. import { IFilterOption } from '../models/filter-option';
  3. @Component({
  4. selector: 'app-dashboard',
  5. templateUrl: './dashboard.component.html',
  6. styleUrls: ['./dashboard.component.scss']
  7. })
  8. export class DashboardComponent implements OnInit {
  9. filterOptions: Array<IFilterOption>;
  10. constructor() { }
  11. ngOnInit() {
  12. this.filterOptions = [{
  13. name: 'Yesterday',
  14. id: 'yesterday'
  15. }, {
  16. name: 'Today',
  17. id: 'today'
  18. }];
  19. }
  20. }