material-framework
material-framework copied to clipboard
Make Material() return something useful
@kCenk , @PalmerAL Suggestions ?
I think that material() should return the modules that were initialized. For example, you could do:
var md = new Material({modules: ["Responsive", "SideMenu"]});
md.Theme.toggle(element);
@PalmerAL Yeah, that could work, but what about material itself ?
var md = new Material();
What would md alone return ?
Dunno tbh nothing pops into my mind right now