M.pop.alert('message');
M.pop.alert('message', function(index, setting) { M.tool.log( "index", index ); alert( "index: " + index ); });
M.pop.alert('message', { title : 'title', buttons : [ 'button0', 'button1',] });
M.pop.alert('message', { title : 'title', buttons : [ 'button0', 'button1',], }, function(index, option) { M.tool.log( "index", index ); alert( "index: " + index ); });