Cancel method and event
xavierfoucrier opened this issue · 2 comments
xavierfoucrier commented
Allow the user to properly cancel the preload at any time by calling preload.cancel()
, aborting the XMLHttpRequest
. Add support for a cancel event too, like preload.canceled = () => { ... }
.
andreupifarre commented
This has been added already on 1.4.0
, preload.cancel()
method and preload.oncancel = items => {}
event.
xavierfoucrier commented
Thanks @andreupifarre!
that wasn't specified in the doc on january