fd-velem
v1.0.0
Published
Create virtual dom elements FP-style!
Downloads
30
Readme
fd-velem
Create virtual dom elements FP-style!
Installation
npm install fd-velem --save
Usage
import velem from 'fd-velem';
var div = velem('div')({})(['Hello World']);
API
velem :: (tagName, content)
tagName-> string: type of element to be created.content-> string: Contents of the newly created element.
