0.0.3 • Published 2 years ago

free-float-button-js v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

free-float-button-js

This is a simple library made with the intention to give freedom of movement to a button on the screen, it works with any html element. To use it you must do the following:

Params

elm --> html element to which the movement will be given. zIndex --> z-index value that the button will have as needed.

how to use?

let elm = document.getElementById('anyid')
let zIndex = 1000
let anyVar = new FloatFreeButton(elm,zIndex)
anyVar.goMoveIt(elm)