Socket
Socket
Sign inDemoInstall

free-float-button-js

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    free-float-button-js

Get a float button with free movement on the screen


Version published
Weekly downloads
2
Maintainers
1
Install size
2.14 kB
Created
Weekly downloads
 

Readme

Source

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)

FAQs

Last updated on 30 Dec 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc