ionic-toast
ionic-toast copied to clipboard
how can i display the value of a variable in the ionicToast ?
var secondMethod = function(someStuff) { var len = someStuff.length; ionicToast.show('Updating number of values {{len}} in the database','middle', false, 1000);
Did you try ?
var secondMethod = function(someStuff) {
var len = someStuff.length;
ionicToast.show('Updating number of values' + len + 'in the database','middle', false, 1000);
It's done thanks
Best Regards, Jay
On Mar 1, 2017, at 11:51 PM, Sanket Tajane [email protected] wrote:
Did you try ?
var len = someStuff.length; ionicToast.show('Updating number of values' + len + 'in the database','middle', false, 1000);``` — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.