UPDATE: the following answer is bad practice (according to one of the project maintainers) and a solution is provided in patched version 1.0.1. I will still leave the answer here for future reference.
the following solution is recommended only if you are upgrading your DOM elements to MDL components manually (i.e. var myCheckBox = new MaterialCheckbox(el);
).
The easiest way that I came up with was to get access to the actual MDL component (instead of DOM elemnt)**. So if your HTML looks like the following:
<label class="my-checkbox" for="checkbox-1">
<input type="checkbox" id="checkbox-1" class="mdl-checkbox__input" checked />
<span class="mdl-checkbox__label">Checkbox</span>
</label>
Then you would have something like this:
var domEl = document.getElementById("my-checkbox")
var mdlComp = new MaterialCheckbox(domEl)
// now you can just use the functions provided by the MDL component
mdlComp.uncheck();
Other methods provided by MaterialCheckbox
are check
, disable
, and enable
** I have written an article on how MDL works here