These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them
node
npm install sparetime.js --save
window.onload = () => {
spare();
}
- Create, add attributes, add Classes, add Html, get element
let m = Spare.create('li').attr('id', 'working').Class('i','work', 'here').html(" Spare.js Rocks").element;
Spare.sel('#but').html(`<span> This is cool huh? </span>`);
- Select and append
Spare.sel('#list').append(m);
Spare.addEvent('#but', 'click',() => {
return Math.floor(Math.random() * 1000)
});
- Typescript
- javascript
- Webpack
We use Npm for versioning. For the versions available, see the tags on this repository.
- Isaac Browne - Initial work - Ispirett
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to typescript