Name Last Update
dist/yoho-photoslide Loading commit data...
examples Loading commit data...
spm_modules Loading commit data...
tests Loading commit data...
HISTORY.md Loading commit data...
README.md Loading commit data...
index.js Loading commit data...
package.json Loading commit data...

yoho-photoslide spm version


yoho-photoslide

Install

$ spm install yoho-photoslide --save

Usage

var yohoPhotoslide = require('yoho-photoslide');
// use yohoPhotoslide

##根据鼠标或手指拖动实现图片变脸

##参数说明

var defaults={
        mobileStartDrage:window.photoSlide_StartDrage||function(){},//拖动开始的回调函数
        mobileEndDrage:function(){},    //拖动结束的回调函数
        isAndroid:false //是否为安卓客户端程序(APP调用)
    }