Skip to content

wangsh5/actionSheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

actionSheet

仿IOS actionSheet(上拉菜单)

效果图

actionSheetImg

使用方法

引用actionSheet.js

  $.myActionSheet({
        //title:'测试',//可选
        //speed:'500',//动画时间,默认500,可配置
        //y:0,//内容与底部距离,默认0,可配置
        btns:[
            {
                name:'btns1',//自定义
                click:function(){
                  //业务代码
                    alert('btn1')
                }
            },
            {
                name:'btns2',//自定义
                click:function(){
                //业务代码
                    alert('btn2')
                }
            }
            ...
        ]
    });

About

仿IOS actionSheet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published