Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import {AfterViewInit, Component, OnChanges, OnDestroy, OnInit} from '@angular/core';
  2. import {ActivatedRoute, ActivationEnd, NavigationEnd, Route, Router} from '@angular/router';
  3.  
  4. @Component({
  5.     selector: 'app-users-list',
  6.     templateUrl: './users-list.component.html',
  7.     styleUrls: ['./users-list.component.scss']
  8. })
  9. export class UsersList implements OnInit{
  10.  
  11.  
  12.  
  13.     ngOnInit(){
  14.         let users:[
  15.             {
  16.                 id:1,
  17.                 Anrede:'Herr',
  18.                 Vorname:'John',
  19.                 Nachname:'Doe',
  20.                 Status:'Atkiv',
  21.                 MitgliedSeit:'01.01.2018',
  22.                 Version:'Test' 
  23.             },
  24.             {
  25.                 id:1,
  26.                 Anrede:'Herr',
  27.                 Vorname:'John',
  28.                 Nachname:'Doe',
  29.                 Status:'Atkiv',
  30.                 MitgliedSeit:'01.01.2018',
  31.                 Version:'Test' 
  32.             },          {
  33.                 id:1,
  34.                 Anrede:'Herr',
  35.                 Vorname:'John',
  36.                 Nachname:'Doe',
  37.                 Status:'Atkiv',
  38.                 MitgliedSeit:'01.01.2018',
  39.                 Version:'Test' 
  40.             }
  41.         ]
  42.     }
  43.  
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement