import { Component , OnInit } from '@angular/core' ; import { ThySelectionListChange } from 'ngx-tethys' ; @ Component ( { selector : 'app-list-layout-example' , templateUrl : './layout.component.html' } ) export class ThyListLayoutExampleComponent implements OnInit { public gridItems = [ { id : 1 , name : 'Grid Item 1' } , { id : 2 , name : 'Grid Item 2' } , { id : 3 , name : 'Grid Item 3' } ] ; public isGridLayout = true ; public selectionModel = { selectedValues : [ 2 , 3 ] } ; constructor ( ) { } ngOnInit ( ) { } selectionChange ( event ) { console . log ( event ) ; } }