Options
All
  • Public
  • Public/Protected
  • All
Menu

A ng service used for displaying application modal dialog on the screen. This service class only delegates method calls to PhloxApp component allowing you to control the dialog anywhere entire the application. For example, from the component loaded by router where the PhloxApp component instance could not be referred directly, this service will be helpful in allowing you to control the dialog via this service.

author

shiorin, tee4cute

see

PhloxDialog

see

PhloxApp

Hierarchy

  • DialogService

Index

Properties

Private phloxApp

phloxApp: PhloxApp

Methods

hideDialog

  • hideDialog(): void

init

  • Initialize this service and bind it with the given phloxApp instance. All method calls of this service will be delegate to the given application instance. Please note that this method is intended to be used internally by PhloxUI framework. So, you should NOT use this method in normal situations.

    see

    PhloxApp

    Parameters

    Returns void

showComponentDialog

showConfirmDialog

  • showConfirmDialog(title: string, message: string, showCancelBtn: boolean, width?: string, height?: string): Promise<any>
  • Show the confirmation dialog. This method only delegates method call to PhloxDialog.showConfirmDialog.

    see

    PhloxDialog.showConfirmDialog

    Parameters

    • title: string
    • message: string
    • showCancelBtn: boolean
    • Optional width: string
    • Optional height: string

    Returns Promise<any>

showMessageDialog

  • showMessageDialog(title: string, message: string, width?: string, height?: string): Promise<any>

Generated using TypeDoc