4

我在互联网上搜索了很多,但我找不到timeOutextendedTimeOutin的描述toastr.options

toastr.option = {
showDuration : its the time the toastr is visible. 
timeOut : ??  (I need help here from you guys)
extendedTimeOut : ?? (I need help here from you guys)
}
4

1 回答 1

4

在没有用户交互的情况下,toast 将显示多长时间

toastr.options.timeOut = 30; 

用户将鼠标悬停在 Toast 上后将显示多长时间

toastr.options.extendedTimeOut = 60; 

https://github.com/CodeSeven/toastr#timeouts

于 2015-04-08T08:05:28.917 回答