Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PropertyDialog<T>

Type parameters

Hierarchy

Index

Constructors

constructor

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

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

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