ng2-bootstrap-base-modified
Version:
Native Angular Bootstrap Components Typeahead modified
17 lines (13 loc) • 371 B
text/typescript
/**
* @copyright Valor Software
* @copyright Angular ng-bootstrap team
*/
export class Trigger {
public open: string;
public close?: string;
public constructor(open: string, close?: string) {
this.open = open;
this.close = close || open;
}
public isManual(): boolean { return this.open === 'manual' || this.close === 'manual'; }
}