Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "parambox", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Too much parameters to handle ? paramBox is a collection of smart plug and play tools to facilitate the design of javascript games and cognitive tasks.", | ||
@@ -5,0 +5,0 @@ "main": "lib/paramBox-transpiled-0.2.js", |
@@ -8,2 +8,9 @@ # paramBox v1.2 | ||
## Description | ||
A ParamBox is a little draggable div allowing you to do double binding with any variable of your page. It is often long to go back and forth between your code and the page when you want to change the value of just one variable. This box allows you to to have all your variables in check for quick access. | ||
Two other classes are currently avaible : DragBox (simple draggable box), and SmartModal (a configurable modal). | ||
http://imgur.com/4OcMkNR | ||
## Require | ||
@@ -14,2 +21,6 @@ | ||
## Install | ||
To install a paramBox : | ||
<link rel="stylesheet" type="text/css" href="/node_modules/bootstrap/dist/css/bootstrap.min.css"></link> | ||
@@ -65,9 +76,9 @@ <script type="text/javascript" src="/lib/paramBox-transpiled-0.1.js"></script> | ||
// edge are magnetic and attract the box | ||
cawaka.stickiness = "magnetized"; | ||
dragBox.stickiness = "magnetized"; | ||
// the box is not attracted by the edge but sticks to it if you make it collide with it. | ||
cawaka.stickiness = "glue"; | ||
dragBox.stickiness = "glue"; | ||
// no stickiness | ||
cawaka.stickiness = "none"; | ||
dragBox.stickiness = "none"; | ||
@@ -104,1 +115,8 @@ | ||
modalBox.content = "Very important information, needed a modal." | ||
## PS | ||
A lot remains to be done! (i'll work on the docs... it takes time sorry !) | ||
You are most welcome to land a hand :) |
101319
119