import { Component , OnInit } from '@angular/core' ; @ Component ( { selector : 'thy-calendar-basic-example' , templateUrl : './basic.component.html' , styleUrls : [ './basic.component.scss' ] } ) export class ThyCalendarBasicExampleComponent implements OnInit { listDataMap = { eight : [ { type : 'warning' , content : 'This is warning event.' } , { type : 'success' , content : 'This is usual event.' } ] , ten : [ { type : 'warning' , content : 'This is warning event.' } , { type : 'success' , content : 'This is usual event.' } , { type : 'error' , content : 'This is error event.' } ] , eleven : [ { type : 'warning' , content : 'This is warning event' } , { type : 'success' , content : 'This is very long usual event........' } , { type : 'error' , content : 'This is error event 1.' } , { type : 'error' , content : 'This is error event 2.' } , { type : 'error' , content : 'This is error event 3.' } , { type : 'error' , content : 'This is error event 4.' } ] } ; constructor ( ) { } ngOnInit ( ) { } }