import { Component , OnInit } from '@angular/core' ; @ Component ( { selector : 'thy-input-number-size-example' , templateUrl : './size.component.html' } ) export class ThyInputNumberSizeExampleComponent implements OnInit { value : number ; step = 1 ; max = 10 ; sizes = [ 'xs' , 'sm' , 'md' , 'lg' ] ; suffix = '%' ; constructor ( ) { } ngOnInit ( ) { } change ( value ) { console . log ( value ) ; } }