Skip to main content
Version: Version 2.0 - Master branch

UI Dialog Service

Dialogs have similar characteristics to that of Modals, but often with a streamlined focus. They can be helpful when:

  • We need to grab the user's attention
  • We need user input
  • We need to show additional information

If you're curious about the DOs and DON'Ts of dialogs and modals, check out this article: "Best Practices for Modals / Overlays / Dialog Windows"

UIDialogService

Interface​

For a more detailed look on the options and return values each of these methods is expected to support, check out it's interface in @ohif/core

API MemberDescription
create()Creates a new Dialog that is displayed until dismissed
dismiss()Dismisses the specified dialog
dismissAll()Dismisses all dialogs

Implementations​

ImplementationConsumer
Dialog Provider*Baked into Dialog Provider

* - Denotes maintained by OHIF

3rd Party implementers may be added to this table via pull requests.