File

libs/video-stat-dashboard/src/dashboard.component.ts

Metadata

selector app-dashboard
styleUrls dashboard.component.css
templateUrl ./dashboard.component.html

Constructor

constructor(_appService: AppService)
Parameters :
Name Type Optional
_appService AppService no
import { Component } from '@angular/core';

import { AppService } from './services/app.service';

@Component({
  selector: 'app-dashboard',
  templateUrl: './dashboard.component.html',
  styleUrls: ['./dashboard.component.css']
})
export class DashboardComponent {

  constructor(_appService: AppService) {
    // Have it injected for the side effect of triggering the data population.
    // This is an anti-pattern, right?
  }
}
<div class="row">
  <div class="col s3">
    <top-list></top-list>
  </div>
  <div class="col s6">
    <div class="row">
      <div class="col s12">
        <video-container></video-container>
      </div>
    </div>
    <div class="row">
      <div class="col s12">
        <views-breakdown></views-breakdown>
      </div>
    </div>
  </div>
  <div class="col s3">
    <views-filter></views-filter>
  </div>
</div>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""