Sweeper.js Update
Matthew Harris
Posted on March 9, 2022
Hello again, this post covers the goals of sweeper.js if you don't know what sweeper.js check out this post
Currently with sweeper.js I am working on a way to create a custom div, my goal with this is to have the div code utilize sweeper code so you never have to write html.
In a perfect world the ideal basic sweeper.js project would look like this
const sweeper = require('sweeper.js');
sweeper.init('windowTitle' () => {
sweeper.div('divClass' () => {
sweeper.h('h size', 'text', 'class');
});
sweeper.color('color', 'class')
});
But sadly it currently looks like this (with no way to make custom divs)
const sweeper = require('sweeper.js');
sweeper.init('title');
sweeper.h('h size', 'text', 'class');
sweeper.color('color', 'class');
sweeper.endHtml();
Anyway it would really help if you could check out and contribute to the project
GitHub: https://github.com/MrEggoXYZ/Sweeper.js#readme
npm: https://www.npmjs.com/package/sweeper.js
💖 💪 🙅 🚩
Matthew Harris
Posted on March 9, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.