mithril.component.mdl.js
function(attrs) {
			attrs = attrs || {};
			attrs.state = attrs.state || {};

			//	Build our class name
			var cName = cfgClasses("mdl-button--", ["raised", "fab", "mini-fab", "icon", "colored", "primary", "accent"], attrs.state) +
				cfgClasses("mdl-js-", ["ripple-effect"], attrs.state);

			return attrsConfig({
				className: "mdl-button mdl-js-button" + cName
			}, attrs);
		}
function(attrs) {
			attrs = attrs || {};
			attrs.state = attrs.state || {};

			//	Build our class name
			var cName = cfgClasses("mdl-button--", ["raised", "fab", "mini-fab", "icon", "colored", "primary", "accent"], attrs.state) +
				cfgClasses("mdl-js-", ["ripple-effect"], attrs.state);

			return attrsConfig({
				className: "mdl-button mdl-js-button" + cName
			}, attrs);
		}
function ( attrs ) { attrs = attrs || { } ; attrs . state = attrs . state || { } ; //	Build our class name var cName = cfgClasses ( "mdl-button--" , [ "raised" , "fab" , "mini-fab" , "icon" , "colored" , "primary" , "accent" ] , attrs . state ) + cfgClasses ( "mdl-js-" , [ "ripple-effect" ] , attrs . state ) ; return attrsConfig ( { className : "mdl-button mdl-js-button" + cName } , attrs ) ; }
Set button class names
Set button class names