It looks like there is a .is-visible class on the box, and by deleting it, the box is hidden. So (using jquery) something like this switches the box:
$(".mdl-layout__drawer").toggleClass("is-visible")
So I need to add this to the event handler for links or put it in the onClick attribute.
source
share