diff --git a/demo.html b/demo.html index c209893..fd4e234 100644 --- a/demo.html +++ b/demo.html @@ -39,7 +39,6 @@ paper-button { margin: 20px; } - @@ -51,6 +50,10 @@ Send Message +
+ + Fade out top + @@ -58,6 +61,9 @@ - + + + + diff --git a/paper-toast.html b/paper-toast.html index e1adf39..c14afc6 100644 --- a/paper-toast.html +++ b/paper-toast.html @@ -25,7 +25,13 @@ el.show(); } - + +The fading out method can be customized by setting the `transition` attribute. + +Example : + + + An action button can be presented in the toast. Example (using Polymer's data-binding features): @@ -58,7 +64,7 @@ left: 0; width: 100%; } - + When the screen size is smaller than the `responsiveWidth` (default to 480px), the toast will automatically fits at the bottom of the screen. @@ -86,211 +92,221 @@ - + -