itom-preloader
v0.0.7
Published
Simple preloader for website
Readme
- add class 'itom-preloader-overflow-hidden' to BODY tag
- include style.css in head
- include index.js before body closing tag
- 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
