1.1.1 • Published 6 years ago
y-elements v1.1.1
Web Application Generator
A simple, yet efficient way of creating HTML elements.
Prerequisites
As long as you have basic knowledge of html, css (scss), and javascript, you're good to go ;)
Getting Started
- Install the package:
$ npm i y-elements
- Include it in your source file:
import { CreatePageElement } from "y-elements";
or;
const { CreatePageElement } = require("y-elements");
Example
import { CreatePageElement } from "y-elements";
let el = new CreatePageElement ({
tag: "span"
classList: ["container"],
parent: document.body,
innerHTML: "My awesome content, if any ;p"
});
Authors
- Younss Ait Mou - Initial work - yaitmou
See also the list of contributors who participated in this project.
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details