free-float-button-js
v0.0.3
Published
Get a float button with free movement on the screen
Downloads
2
Readme
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)