installation
the steps
-
Adding bitty to a page is done by including it via a script tag. Start by downloading it:
-
Put the file on your server. Then, call it from your pages with:
-
Once the script tag is on your page. Create a JavaScript module file with your features and connect to it with a bitty tag like:
hello, bitty
You can use these two files for a complete example to get you started (the only thing you'll need to do is adjust the paths to point to your actual file locations).
index.html
---
say hello
example-bit.js
;
using bitty with other software
bitty is designed to play nice with other software. As long as the framework/app/whatever doesn't interfere with loading scripts on a page or calling modules, bitty will work just fine.