Skip to content

think2011/z-Dragify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

z-Dragify

    new Dragify(document.querySelector('#box'),{
                target: document.querySelector("#box-title")
            })
            .on('start', function () {
                console.log('s')
            })
            .on('move', function () {
                console.log('m')
            })
            .on('end', function () {
                console.log('e')
            })
    new Dragify("#box",{
        target: "#box-title"
    })

About

让元素可拖拽,支持移动端

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published