File

projects/m2-core/src/lib/core/service/system/modals/global-modals.service.ts

Index

Properties
Methods

Methods

Public activateParamsInputDialog
Will be removed in v22.2.
activateParamsInputDialog(config: ParamsInputDialogConfig)

Will be removed in v22.2.

Parameters :
Name Type Optional
config ParamsInputDialogConfig No
Returns : void
Public closeDialog
closeDialog(dialogType: LazyDialogType)
Parameters :
Name Type Optional
dialogType LazyDialogType No
Returns : void
Public closeHintCard
closeHintCard()
Returns : void
Public hideContextMenu
hideContextMenu()
Returns : void
Public openDialog
openDialog(dialogType: T, config?: C, injector?: Injector, forceNew?: boolean)
Type parameters :
  • T
  • C
Parameters :
Name Type Optional
dialogType T No
config C Yes
injector Injector Yes
forceNew boolean Yes
Returns : void
Public openImgGallery
openImgGallery(config: ImgGalleryConfig)
Parameters :
Name Type Optional
config ImgGalleryConfig No
Returns : void
Public openLazyDialog
Use openDialog() instead. Will be removed in v22.2.
openLazyDialog(dialogType: LazyDialogType, config?: C, injector?: Injector, forceNew?: boolean)
Type parameters :
  • C

Use openDialog() instead. Will be removed in v22.2.

Parameters :
Name Type Optional
dialogType LazyDialogType No
config C Yes
injector Injector Yes
forceNew boolean Yes
Returns : void
Public selectBase64File
selectBase64File(fileHandler: (base64file: string,fileName: string) => void, accept?: string)
Parameters :
Name Type Optional
fileHandler function No
accept string Yes
Returns : void
Public selectFile
selectFile(fileHandler: (file: File) => void, accept?: string)
Parameters :
Name Type Optional
fileHandler function No
accept string Yes
Returns : void
Public showContextMenu
showContextMenu(params: literal type)
Parameters :
Name Type Optional
params literal type No
Returns : void
Public showHintCard
showHintCard(config: HintCardConfig)
Parameters :
Name Type Optional
config HintCardConfig No
Returns : void

Properties

Public contextMenuActivator$
Default value : this.contextMenuActivator.asObservable()
Public fileSelectorActivator$
Default value : this.fileSelectorActivator.asObservable()
Public hintCardActivator$
Default value : this.hintCardActivator.asObservable()
Public imgGalleryActivator$
Default value : this.imgGalleryActivator.asObservable()
Public lazyDialogActivator$
Default value : this.lazyDialogActivator.asObservable()

results matching ""

    No results matching ""