gy-foo
Version:
A library that contains all models for the gy-web-project.
24 lines (23 loc) • 591 B
TypeScript
import { EventEmitter, TemplateRef } from '@angular/core';
import { Confirmation } from 'primeng';
export interface ConfirmOption {
id: string;
function?: Function;
label?: string;
icon?: string;
styleClass?: string;
event?: EventEmitter<any>;
}
/**
* GyConfirmation extension of Confirmation
*/
export interface GyConfirmation extends Confirmation {
options?: ConfirmOption[];
draggable?: boolean;
resizable?: boolean;
modal?: boolean;
closable?: boolean;
closeFunction?: () => any;
template?: TemplateRef<any>;
details?: string;
}