lolli-snackbar
v0.1.0
Published
A Material Design snackbar
Downloads
3
Readme
lolli-snackbar
Example:
const snackbar = new Snackbar();
snackbar.show("Your draft has been discarded.", {
action: () => {
console.log("action");
},
actionText: "Action"
});
Default:
{
timeout: 3000,
action: function() {}
}
Styling:
| Custom property | Default | | ------------- | ------------- | | --lolli-snackbar-background-color | #323232 | | --lolli-snackbar-color | #EEFF41 |