0.0.1 • Published 7 years ago

simplepopup v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

simplePopup

simplePopup is a js library to play with popup

Download

yarn add simplePopup

How to use

simplePopup.openWindow(siteurl, width, height, center);

siteurl -> The website you want to open width -> Width of the popup height -> Height of the popup center -> If true or not defined, the popup is centered (work with dual screen)

Exemple :

simplePopup.openWindow("http://google.com/", "1080px", "50%");

TODO

  • Translate in english
  • Add stolen code credits (dual screen compatibility) :)