rajeshwarpatlolla / ionic-toast

'ionic-toast' bower component for ionic framework applications
MIT License
157 stars 60 forks source link

Change background color programatically? #25

Open fgagneten opened 7 years ago

fgagneten commented 7 years ago

Well may be you can add change the background color of the toast programmatically. Because if I want to differentiate into a success toast or error toast I can't, because always the toast have one background color. Thanks!

amunoz20 commented 7 years ago

Hi fgagneten,

I just wanted to point out that 12 days ago this feature has been released, it wont work tho... since the dist files are outdated.

However you can always build those files yourself: 1) Clone this repo into a clean directory (just to make sure nothing ruins your current project) 2) Open terminal head to the root of the ionic-toast folder and do bower install 3) Once bower is completed do npm install 4) Once npm is completed do gulp make-bundle 5) Finally browse the /dist folder in the ionic-toast folder and copy the ionic-toast.bundle.min.js into your project's lib/ionic-toast/dist folder.

Happy Coding! Cheers

lcrpt commented 7 years ago

https://github.com/rajeshwarpatlolla/ionic-toast/pull/32