import { ListModel } from './list.model'; export class SelectListModel extends ListModel { /** * It is array for selected items. */ selected: Array; /** * It is an object with background colors for checked / unchecked states of Select-list item. */ color?: { /** * It is background color for schecked item state. */ checked: string, /** * It is background color for unchecked item state. */ unchecked: string }; /** * It is the constructor for the Select-list component. It takes the data to create Select-list object. */ constructor(values: Object = {}) { super(); Object.assign(this, values); } }