File

projects/view-layer/src/lib/modal-wrapper/modal-wrapper.model.ts

Index

Properties

Properties

cssUnit
cssUnit: "px" | "rem" | "%"
Type : "px" | "rem" | "%"
Optional
height
height: number
Type : number
Optional
width
width: number
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;
}

result-matching ""

    No results matching ""