Many thanks for the great extension, much appreciated!
Here are some things I found useful to add... perhaps you will find them useful as well. I especially wanted an activity indicator which could change to a success/error message using the same toast (and fade away on success result). There is a sample of this on the demo page (I changed the "Updating Toasts" example), as well as examples of the other new features.
Add ability to enable autoHide (and optionally the loader bar) with a $.tree.update({hideAfter: x, ...}) call.
Add style option to set message type styling independently of the icon (info/warning/etc).
Added iconAlign option to specify icon top or middle vertical alignment.
Improved icon handling when updating an existing toast with toast.update().
Add spinner animated icon option, with examples on demo page.
Hello Kamran,
Many thanks for the great extension, much appreciated!
Here are some things I found useful to add... perhaps you will find them useful as well. I especially wanted an activity indicator which could change to a success/error message using the same toast (and fade away on success result). There is a sample of this on the demo page (I changed the "Updating Toasts" example), as well as examples of the other new features.
$.tree.update({hideAfter: x, ...})
call.style
option to set message type styling independently of the icon (info/warning/etc).iconAlign
option to specify icon top or middle vertical alignment.toast.update()
.spinner
animated icon option, with examples on demo page.Cheers, -Max