jSQL Devel is a fun little development tool for jSQL.
jSQL Devel plugs into the jSQL object and exposes methods that create an interface in the browser that can be used to generate code and manage data.
jsql-devel.js
or jsql-devel.min.js
in your HTML and programmatically open and close the interface (perhaps from the browser console). (Download them from [Github] or [NPM])/demos
folder to get the button.There are methods to control just about everything, but these are the important ones:
jSQL.devel.open(options)
- Open the interface.
options.theme
- A jQuery UI theme name.options.wrapper
- A query selector for the element to draw the developer in. In not provided it's drawn on top of everything else.options.bg
- The background as provided to CSS's background
property.options.header_img
- The URL of the image to display in the header. If not provided the jSQL logo is shown. If false
is provided no image is drawn. options.loader_img
- The URL of the image to display as the tool is loading. If not provided the jSQL logo is shown. If false
is provided no image is drawn.jSQL.devel.close()
- Close the interface.Making development easier :rainbow:
App ready code the way you like it :hamburger:
Just for Fuuuuun :ghost:
Watch this :wrench:
Make the fanciest buttons :gun: