ionic-toast icon indicating copy to clipboard operation
ionic-toast copied to clipboard

background-color do not apply

Open lcrpt opened this issue 8 years ago • 4 comments

Hi, thanks for this module.

I cloned the last release of this repo to my node_modules everything is working but the fifth argument doesn't apply the background-color.

ionicToast.show('Server Error', 'bottom', false, 5000, 'rgba(46, 204, 113, 1)');
ionicToast.show('Server Error', 'bottom', false, 5000, '#FFF');

Also the last release is not up to date on npm or bower, it's under 10 commits.

lcrpt avatar Feb 15 '17 12:02 lcrpt

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

lcrpt avatar Feb 15 '17 15:02 lcrpt

The last background argument is missing in the release version. And in the latest github version it's still missing in the minified file. I made it work by cloning the repo, making "npm install" and running "gulp".

EternallLight avatar May 04 '17 15:05 EternallLight

Thanks!

mayaugusto7 avatar May 23 '17 14:05 mayaugusto7

they do not support this repos anymore, the best solution is to fork it 👍

lcrpt avatar May 23 '17 14:05 lcrpt