0.0.7 • Published 6 years ago
itom-preloader v0.0.7
1) add class 'itom-preloader-overflow-hidden' to BODY tag 2) include style.css in head 3) include index.js before body closing tag 4) init iTomPreloader: iTomPreloader.check({ timeout: 3000, background_color: '#15648c', dot_color: '#FFFFFF', images: ... });
Options: timeout: milliseconds (default = 3000); background_color: any background color (default = '#FFFFFF'); dot_color: any dots color (default = '#111111'); images: you can set array of images to preload and cache them,relative path from your public root (default = []);
Codepen editor page: https://codepen.io/itom-needforjamaica/pen/jjojMB
Codepen fullwidth page: https://codepen.io/itom-needforjamaica/full/jjojMB