Preload images with promises. GitHub Gist: instantly share ... export const preload = src => new Promise((resolve, reject) => {. const img = new Image().
確定! 回上一頁