sideNav is not a function
pawlarius opened this issue · 2 comments
pawlarius commented
if im using version '0.100.2' it works fine.
while 1.0.0.beta cause this error, if i tried to init with
var elem = document.querySelector('.sidenav'); var instance = M.Sidenav.init(elem, options); instance.open()
then the sidenav just show sidenav overlay..
in version '0.100.2', the select init not working, while in version 1.0.0beta it works. :(
mkhairi commented
@pawlarius .. see example repo for initializer.
v0.100.2 --> init.coffee
v1.0.0.beta --> init.cofee
pawlarius commented
thanks !