import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, } from '@angular/core'; import { fadeInOutAnimation, } from './../../animations/index'; @Component({ animations: [ fadeInOutAnimation(), ], changeDetection: ChangeDetectionStrategy.OnPush, selector: 'tooltip-mini-component', styleUrls: [ './tooltip-mini.component.scss', ], templateUrl: './tooltip-mini.component.template.pug', }) export class TooltipMiniComponent { @Input() public text: string; @Input() public visible = false; @Input() public isBelow = false; @Input() public expandsToRight = false; @Input() public expandsToLeft = false; constructor( public changeDetectorRef: ChangeDetectorRef, ) {} }