Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

How can I open Modal Popup by clicking Toolbar menu Button?

Open Vishal568 opened this issue 7 years ago • 4 comments

I want open Modal by clicking toolbar menu like Boostrap Modal. Is it possible to show Modal by clicking toolbar menu? If possible Which steps I follow for this kind of changes.

Vishal568 avatar Aug 30 '19 10:08 Vishal568

@Vishal568 today there is not a great option outside of modifying platform/viewer. I'll create a new issue to add support for a "ModalModule" that will allow you to register new ones, get the state of current "modals", and open/close it by name.

dannyrb avatar Sep 06 '19 17:09 dannyrb

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 27 '19 17:09 stale[bot]

Tabled. We've been discussing internally about how to improve this; but I'm not sure I have enough information to type anything up yet. This has gone stale, but if anyone really wants to see this done, feel free to reach out and I can assist with your PR draft.

dannyrb avatar Oct 09 '19 15:10 dannyrb

We now have a UIModalService for this behavior: https://docs.ohif.org/services/ui/ui-modal-service.html

dannyrb avatar Dec 10 '19 13:12 dannyrb