Skip to content

bravelincy/pagescroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

pagescroll

移动端全屏插件

使用方法

pageScroll({
    container: '.pages',
    direction: 'vertical',
    effect: 'ease',
    start: function (index) {
        console.log('start', this, index);
    },
    end: function (index, prevIndex, prevPage) {
        console.log('end', this, index, prevIndex, prevPage);
        this.classList.add('active');
        prevPage.classList.remove('active');
    }
});

About

a full page scroll plugin for javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages