Closed DWboutin closed 2 years ago
Hi @DWboutin! Yes, that's possible! As mentioned in this section of documentation:
There are 3 ways to provide options to a modal:
- Trough
defaultOptions
increateModalStack()
as we just did- Inside
modalConfig
by providing amodalOptions
object instead of just the component directly- Inside the modal component file itself, via
static modalOptions
(Class) orMyModalComponent.modalOptions
(Hooks)
So it's up to you to pick up between option 2 and 3 which one you prefer to set backBehavior
from 👍
Great! Tyvm
Hi Guys!
Thanks for this nice lib, very easy and it got smooth animations.
I would love to have mandatory modals, but the
backBehavior
config is set to all Modals that I'll define withcreateModalStack(modalConfig, defaultOptions)
.Is there any way to set this to only one modal?
Thank you