plauzul / ng2-izitoast

MIT License
19 stars 8 forks source link

Disable timeout #8

Open RwbyChan opened 6 years ago

RwbyChan commented 6 years ago

In Angular 5 I'm getting an error when setting the timeout to false to disable the auto hide. It works but still shows an error. Probably because it expects a number but false should also work.

dreamid27 commented 6 years ago

you have problem same with me,

it's happen because the model not apply boolean, you can temporary change the property of timeout to data type any.

and hope the developer fix it.