-
Notifications
You must be signed in to change notification settings - Fork 7
Interface: IDialogCoreConfig
Optional user configuration.
Example:
// Dialog core config object example.
const dialogCoreConfig = {
dialogCoreConfig: {
width : '500px',
// minWidth : '300px',
// maxWidth : '700px',
height : '500px',
// minHeight : '100vh',
// maxHeight : '100px',
hideScrollbar : true,
escapeKeyClose : true,
// fullScreen : true,
buttonPosition : 'right',
layoutType: DialogLayoutDisplay.INFO,
// loaderComponent: // Any Angular component class name can be included as a loader.
displayLoader: false, // This will override LoaderComponent.
customStyles: {
buttonSectionCss: 'background: #333',
buttonCss: 'font-size: 30px;',
wrapperCss: 'background: #333;'
}
}
}-
ISizes
↳ IDialogCoreConfig
• Optional animationIn: AppearanceAnimation
• Optional animationOut: DisappearanceAnimation
• Optional buttonPosition: VerticalPosition
• Optional customStyles: IDialogCustomStyles
• Optional displayLoader: boolean
• Optional escapeKeyClose: boolean
• Optional fullScreen: boolean
Inherited from: ISizes.fullScreen
• Optional height: string
Inherited from: ISizes.height
• Optional hideScrollbar: boolean
• Optional layoutType: DialogLayoutDisplay
• Optional loaderComponent: Type<any>
• Optional maxHeight: string
Inherited from: ISizes.maxHeight
• Optional maxWidth: string
Inherited from: ISizes.maxWidth
• Optional minHeight: string
Inherited from: ISizes.minHeight
• Optional minWidth: string
Inherited from: ISizes.minWidth
• Optional width: string
Inherited from: ISizes.width
- AppearanceAnimation
- ButtonLayoutDisplay
- DialogLayoutDisplay
- DisappearanceAnimation
- ToastPositionEnum
- ToastProgressBarEnum
- ToastUserViewTypeEnum