From 056fc1ae5d6c987bfbd406af512529caac69b696 Mon Sep 17 00:00:00 2001 From: Script47 Date: Tue, 19 Feb 2019 11:54:42 +0000 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cc465b8..68371c5 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,19 @@ The respective markdown for the above would be: ``` -Now, onto the differnet types: +To show a "snack" (a small version of the toast), simply omit the content property: + +```javascript +$.toast({ + title: 'A small bitesize snack, not a toast!', + type: 'info', + delay: 5000 +}); +``` + +![Example Snack](https://i.gyazo.com/e707a35836553aa9dec96025eb332ac1.png) + +Now, onto the different types: ![Example #2](https://i.gyazo.com/20fbdf05b57af4a76e28f66047fe6591.png)