Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
function materializeButtons() {
document.querySelectorAll('button').forEach(function(control) {
control.classList.add('mdl-button', 'mdl-js-button', 'mdl-button--raised', 'mdl-js-ripple-effect', 'mdl-button--colored');
});
}
function materializeControls() {
materializeTextInputs();
materializeSelects();
materializeRadioButtons();
materializeCheckboxes();
materializeTables();
materializeLists();
materializeButtons();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment