Skip to content

Interface: IDialogCoreConfig

Boris Jenicek edited this page Sep 28, 2021 · 8 revisions

Interface: IDialogCoreConfig

Optional user configuration.

Example:

// Dialog core config object example.
const dialogCoreConfig = {
    DialogCoreConfig: {
       Width          : '500px',
       // MinWidth       : '300px',  // v1.1.0
       // MaxWidth       : '700px',  // v1.1.0
       Height         : '500px',
       // MinHeight      : '100vh',  // v1.1.0
       // MaxHeight      : '100px',  // v1.1.0
       HideScrollbar  : true,        // v1.1.0
       EscapeKeyClose : true,        // v1.1.0
       // FullScreen : true,         // v1.1.0
       ButtonPosition : 'right',
       LayoutType: DialogLayoutDisplay.INFO,
       // LoaderComponent: // Any Angular component class name can be included as a loader.
       DisplayLoader: false // This will override LoaderComponent.
    }
 }

Hierarchy

  • ISizes

    IDialogCoreConfig

Properties

ButtonPosition

Optional ButtonPosition: VerticalPosition


DisplayLoader

Optional DisplayLoader: boolean


EscapeKeyClose

Optional EscapeKeyClose: boolean


FullScreen

Optional FullScreen: boolean

Inherited from: GlobalInterface.ISizes.FullScreen


Height

Optional Height: string

Inherited from: GlobalInterface.ISizes.Height


HideScrollbar

Optional HideScrollbar: boolean


LayoutType

Optional LayoutType: DialogLayoutDisplay


LoaderComponent

Optional LoaderComponent: Type<any>


MaxHeight

Optional MaxHeight: string

Inherited from: GlobalInterface.ISizes.MaxHeight


MaxWidth

Optional MaxWidth: string

Inherited from: GlobalInterface.ISizes.MaxWidth


MinHeight

Optional MinHeight: string

Inherited from: GlobalInterface.ISizes.MinHeight


MinWidth

Optional MinWidth: string

Inherited from: GlobalInterface.ISizes.MinWidth


Width

Optional Width: string

Inherited from: GlobalInterface.ISizes.Width

Clone this wiki locally