projects/view-layer/src/lib/modal-wrapper/modal-wrapper.model.ts
Properties |
cssUnit |
cssUnit:
|
Type : "px" | "rem" | "%"
|
Optional |
height |
height:
|
Type : number
|
Optional |
width |
width:
|
Type : number
|
Optional |
export interface ModalWrapperModel {
header: IHeader;
body?: IBody;
footer: IFooter;
}
interface IHeader {
isVisible: boolean;
title?: ITitle;
class?: string;
isButtonsVisible?: boolean;
buttons?: IButton[];
}
interface IFooter {
isVisible: boolean;
class?: string;
isButtonsVisible?: boolean;
buttons?: IButton[];
}
interface IBody {
class?: string;
}
interface IButton {
isVisible?: boolean;
id?: string;
class?: string;
title?: ITitle;
icon?: IIcon;
}
interface IIcon {
isVisible?: boolean;
name?: string;
path?: string;
class?: string;
size?: ISize;
}
interface ISize {
width?: number;
height?: number;
cssUnit?: 'px' | 'rem' | '%';
}
interface ITitle {
isVisible?: boolean;
text?: string;
class?: string;
}
export interface IClickedBtnModel {
id: string;
text: string;
}