create-element-basic
HTML element string creation
Install
npm
Install withnpm i create-element-basic --save
Usage
var createElement = ;
Breaking Change !
createElement will now determine if the htmlTag entered is empty or not. No longer necessary to enter a Boolean (true/false) as the second argument.
Create an HTML tag either closing or opening type.
Examples
// Before:;; // Now:;;
yields:
Apple
You can nest functions to create complex components.
var closeAria = + var close = var element = return element
yields:
× Close One more time for the Gipper.
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Keith Williams
License
Copyright (c) 2014-2015 Keith Williams
Released under the MIT license