Open multiple modals
Open multiple modals
I have two modals and a button inside the first modal to open the second modal.
What I need is to open the second modal without closing the first.
modalOne = UIkit.modal("#modal_1");
modalTwo = UIkit.modal("#modal_2");
modalOne.on({
'show.uk.modal': function(){
alert("Modal one is visible.");
},
'hide.uk.modal': function(){
}
});
modalTwo.on({
'show.uk.modal': function(){
alert("Modal Two is visible.");
},
'hide.uk.modal': function(){
}
});
Thanks. This is what I'm looking for.
– user3383728
Jun 29 at 21:09
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Maybe you'll have some answers on this link : stackoverflow.com/questions/31159929/…
– Pierre
Jun 29 at 16:00