slimscroll
Version:
slimscroll is a small commonjs module with no library dependencies (sans jquery) that transforms any div into a scrollable area with a nice scrollbar - similar to the one Facebook and Google started using in their products recently. slimScroll doesn't occ
19 lines (16 loc) • 461 B
JavaScript
;
// console.log("example test wepps!!s");
var linotype = require('../../../index');
window.onload =function(){
window.Linotype = new linotype({
verticalCentered: true,
slidesColor: ['#1bbc9b', '#4BBFC3', '#7BAABE'],
afterRender: function(){
//setting the size
document.querySelector('video').style.height=window.innerHeight+'px';
//playing the video
document.querySelector('video').play();
}
});
window.Linotype.init();
};