Releases: genadis/encapsulated-mdl
Releases · genadis/encapsulated-mdl
v2.2.0
v2.1.1
v2.1.0
v2.0.8
v2.0.6
v2.0.0
This release encapsulates MDL. Nothing is populated into global window scope.
gulp all:encap
to build and test (SystemJS is used for testing).
exported:
// index.js
System.import('material.js').then(function (mdl) {
mdl.componentHandler;
mdl.components; // all the Material design objects (MaterialButton, MaterialMenu, etc)
}
If module not used (script tag), falls back to encapsulation under:
window.Google.mdl