2015-04-02 59 views
0

我搜索了很多互聯網上的意思,但我不能發現toastr.options什麼是「超時」,在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) 
} 

回答

1

timeOutextendedTimeOut描述多久吐司將顯示無需用戶交互

toastr.options.timeOut = 30; 

多久吐司將顯示用戶懸停在

toastr.options.extendedTimeOut = 60; 
012後

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