Snackbar

You can learn more about the Snackbar plugin on their website: http://www.polonel.com/snackbar/

Snackbar Position



SnackBar.show({pos: 'bottom-left'}); //Set the position

Action Button


/* No Action */
    Snackbar.show({ showAction: false, });

/* Action Text */
Snackbar.show({ actionText: 'Thanks!', });

/* Text Color */
Snackbar.show({ actionTextColor: '#ff0000', });

/* Click Callback */
Snackbar.show({
   text: 'I have a custom callback when action button is clicked.',
   width: '475px',
   onActionClick: function(element) {
       //Set opacity of element to 0 to close Snackbar
       $(element).css('opacity', 0);
       alert('Clicked Called!');
   }
}); 

MaterialStyle

Social Links