Skip to content

HelTi/winpop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple pop-up box component

使用方法:语法 new winpop(opt,function(){})

//例:
var win = new winpop({
    headercon:'提示',
    popdes:'请谨慎操作?'
},function(){
    console.log("回调函数");
});
var btn=document.getElementById("open");
    btn.addEventListener('click',function(){
        win.alertpop();
    })
    $("#alert").on('click',function(){
        win.confimpop();
    })

About

a A simple pop-up box component

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published