Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Multiple Modals per Page?
-
Does anyone have any guidance on how I could code up multiple Modals per Page with Onsen React? The framework only has a single renderModal function that can be associated with a single Page. But my Page might want to show one of a couple of different modals depending on the state.
Thanks,
Scott
-
@sherscher Does something like this work for you? It simply changes the modal content.
-
Ah yep. That should basically work. Thanks.