socareta

Results comments of socareta

we have same issue Modal Modal Header A bunch of text Agree var elem = document.querySelector('.modal'); var instance = M.Modal.getInstance(elem); instance.open(); i have founded error "Uncaught TypeError: Cannot read property...

var elem= document.querySelector('.modal'); var instance = M.Modal.init(elem, ''); M.Modal.getInstance(instance).open(); finally modal working with same error

thank you so much, we have been tried using single html and working. but we use vue js. still have same error.

great..now working...thanks

@jullemeister i am try use var elem= document.querySelector('.modal'); var instance = M.Modal.init(elem); onclick="instance .open()"