marcelodolza / iziModal

Elegant, responsive, flexible and lightweight modal plugin with jQuery.
http://marcelodolza.github.io/iziModal/
Apache License 2.0
2.16k stars 286 forks source link

Call Modal Loader outside of initialization #224

Closed jfcaldeira closed 5 years ago

jfcaldeira commented 5 years ago

I want to be able to start loading and stop on a different function but i can't seem to manage doing this?

I tried

$('#modal').iziModal().startLoading();

does not work

jfcaldeira commented 5 years ago

my bad i missed, the correct command is $('#modal').iziModal('startLoading');