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

Duration with closed button?

Open aromka opened this issue 8 years ago • 0 comments

Why do you require to provide duration if close button is also shown?

If duration is not provided - it doesn't show the toast ... but if it's provided - it's not used anyways if close button is used ... doesn't make sense :)

Would make more sense to either use duration (if provided) with close button, or just have one option for duration - if it's null / zero - then show close button instead.

Would also be nice to have a callback function for close event.

aromka avatar Mar 04 '16 18:03 aromka