import { Component , OnInit , Input , Output , EventEmitter } from '@angular/core' ; import { stringDistance } from "codelyzer/util/utils" ; @ Component ( { selector : 'app-loader' , templateUrl : './loader.component.html' , styleUrls : [ './loader.component.scss' ] } ) export class LoaderComponent implements OnInit { constructor ( ) { } @ Input ( ) size = 'hd-full-overlay' ; @ Input ( ) color = 'overlay-loader' ; private _show ; @ Output ( ) showChange = new EventEmitter ( ) ; @ Input ( ) set show ( value ) { this . _show = value ; this . showChange . emit ( this . _show ) ; } get show ( ) { return this . _show ; } ngOnInit ( ) { } }