File

src/app/loader/loading-more/loading-more.component.ts

Implements

OnInit

Metadata

selector app-loading-more
styleUrls loading-more.component.css
templateUrl ./loading-more.component.html

Index

Methods

Constructor

constructor(materialService: MaterialService)
Parameters :
Name Type Optional
materialService MaterialService no

Methods

ngOnInit
ngOnInit()
Returns : void
import { Component, OnInit } from '@angular/core';
import { MaterialService } from '../../services';

@Component({
  selector: 'app-loading-more',
  templateUrl: './loading-more.component.html',
  styleUrls: ['./loading-more.component.css']
})
export class LoadingMoreComponent implements OnInit {
  constructor(private materialService: MaterialService) {}

  ngOnInit() {
    console.log('app-loading-more component loaded');
    this.materialService.render();
  }
}
<div class="loading-more-ctn">
  <div class="mdl-spinner mdl-spinner--single-color mdl-js-spinner is-active"></div>
</div>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""