UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

33 lines (32 loc) 1.06 kB
import { ElementRef } from '@angular/core'; import { BasePickerResults } from '../base-picker-results/BasePickerResults'; import { NovoLabelService } from '../../../../services/novo-label-service'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/observable/fromPromise'; /** * @name: ChecklistPickerResults * * @description This is the actual list of matches that gets injected into the DOM. */ export declare class ChecklistPickerResults extends BasePickerResults { labels: NovoLabelService; filteredMatches: any; constructor(element: ElementRef, labels: NovoLabelService); search(): Observable<{}>; /** * @name filterData= * @param matches - Collection of objects= * * @description This function loops through the picker options and creates a filtered list of objects that contain * the newSearch. */ filterData(matches: any): any; /** * @name selectMatch * @param event * @param item * * @description */ selectMatch(event: any, item: any): boolean; }