projects/commons/src/lib/elements/dialog/interfaces/dialog-config.interface.ts
Properties |
|
| cancelButtonText |
cancelButtonText:
|
Type : string
|
| Optional |
| cancelHandler |
cancelHandler:
|
Type : function
|
| Optional |
| hasBackdrop |
hasBackdrop:
|
Type : boolean
|
| Optional |
| loading |
loading:
|
Type : boolean
|
| Optional |
| message |
message:
|
Type : string
|
| Optional |
| okButtonText |
okButtonText:
|
Type : string
|
| Optional |
| okHandler |
okHandler:
|
Type : function
|
| Optional |
| title |
title:
|
Type : string
|
| width |
width:
|
Type : string
|
| Optional |
export interface IDialogConfig {
title: string;
width?: string;
message?: string;
loading?: boolean;
hasBackdrop?: boolean;
okButtonText?: string;
okHandler?: () => any;
cancelButtonText?: string;
cancelHandler?: () => any;
}