Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgDialog

Hierarchy

Index

Constructors

constructor

  • new MsgDialog(dlgTitle?: undefined | string, message?: undefined | string, title?: string | null, type?: string | null, isStatic?: undefined | false | true, isPlain?: undefined | false | true): MsgDialog
  • Parameters

    • Optional dlgTitle: undefined | string
    • Optional message: undefined | string
    • Optional title: string | null
    • Optional type: string | null
    • Optional isStatic: undefined | false | true
    • Optional isPlain: undefined | false | true

    Returns MsgDialog

Properties

baseElem

baseElem: JQuery

buttons

buttons: JQuery

content

content: JQuery

dialog

dialog: JQuery

fields

fields: object

Type declaration

  • [key: string]: any

headerElem

headerElem: JQuery

primaryButton

primaryButton: JQuery | null

title

title: JQuery

xButton

xButton: JQuery

Methods

__construct

  • __construct(title: string, isStatic?: undefined | false | true, content?: UIComponent, keepXBtn?: undefined | false | true): void
  • Parameters

    • title: string
    • Optional isStatic: undefined | false | true
    • Optional content: UIComponent
    • Optional keepXBtn: undefined | false | true

    Returns void

addButton

  • addButton(name: string, callback?: undefined | function, primary?: undefined | false | true, cssClass?: undefined | string): JQuery
  • Parameters

    • name: string
    • Optional callback: undefined | function
    • Optional primary: undefined | false | true
    • Optional cssClass: undefined | string

    Returns JQuery

hide

  • hide(): void

onClose

  • onClose(): void

onShow

  • onShow(): void

propertyDialogApply

  • propertyDialogApply(close?: undefined | false | true): void

propertyDialogClose

  • propertyDialogClose(): void

propertyDialogField

  • propertyDialogField(field: string): UIComponent | null

removeAllButtons

  • removeAllButtons(): void

setAutoResize

  • setAutoResize(autoResize: boolean, callback?: undefined | function): void
  • Parameters

    • autoResize: boolean
    • Optional callback: undefined | function

    Returns void

setCenterButtons

  • setCenterButtons(value: boolean): void

setContent

  • setContent(htmlContent: UIComponent | string | JQuery, keepFields?: undefined | false | true): void
  • Parameters

    • htmlContent: UIComponent | string | JQuery
    • Optional keepFields: undefined | false | true

    Returns void

setFooterVisible

  • setFooterVisible(visible: boolean): void

setMaximised

  • setMaximised(maximised: boolean): void

setMessage

  • setMessage(message: string, title?: string | null, type?: undefined | string): void
  • Parameters

    • message: string
    • Optional title: string | null
    • Optional type: undefined | string

    Returns void

setNoScroll

  • setNoScroll(): void

setSize

  • setSize(width: number, height?: number | null): void
  • Parameters

    • width: number
    • Optional height: number | null

    Returns void

setSizeClass

  • setSizeClass(sizeClass: "" | "modal-sm" | "modal-md" | "modal-lg" | string): void
  • Parameters

    • sizeClass: "" | "modal-sm" | "modal-md" | "modal-lg" | string

    Returns void

setTitle

  • setTitle(title: string): void
  • Parameters

    • title: string

    Returns void

setTitleVisible

  • setTitleVisible(visible: boolean): void

setVisible

  • setVisible(visible: boolean, noAction?: undefined | false | true, ignoreEvent?: undefined | false | true): void
  • Parameters

    • visible: boolean
    • Optional noAction: undefined | false | true
    • Optional ignoreEvent: undefined | false | true

    Returns void

show

  • show(htmlContent?: string | JQuery): void
  • Parameters

    • Optional htmlContent: string | JQuery

    Returns void

Static closeAll

  • closeAll(): void