Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change background color programatically? #25

Open
fgagneten opened this issue Dec 4, 2016 · 2 comments
Open

Change background color programatically? #25

fgagneten opened this issue Dec 4, 2016 · 2 comments

Comments

@fgagneten
Copy link

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
Copy link

amunoz20 commented Feb 2, 2017

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
Copy link

lcrpt commented Feb 15, 2017

#32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants