import { coerceBooleanProperty } from 'ngx-tethys/util' ; import { Component , HostBinding , Input , OnInit } from '@angular/core' ; @ Component ( { selector : 'thy-card-content' , preserveWhitespaces : false , template : `
        <ng-content></ng-content>
    ` } ) export class ThyCardContentComponent implements OnInit { @ HostBinding ( 'class.thy-card-content' ) thyCardContentClass = true ; @ HostBinding ( 'class.thy-card-content--scroll' ) scrollClassName = false ; @ Input ( 'thyScroll' ) set thyScroll ( value ) { this . scrollClassName = coerceBooleanProperty ( value ) ; } @ HostBinding ( 'class.thy-card-content--sm' ) _thySizeSm = false ; @ Input ( 'thySize' ) set thySize ( value ) { this . _thySizeSm = value === 'sm' ; } ngOnInit ( ) { } }