html2vnode
v1.0.2
Published
## View
Downloads
7
Readme
html2vNode
View
Install
with cdn
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/how-long-till-lunch.esm.js"></script>
with npm
When i have fucking time to fucking write
Use it
var body = document.body;
var tree = new vTree(body);
APIS
vNode Prototypes
| Field | type | default | | ---- | ---- | ---- | | getTagName | function() -> tagName | - | | setProps | funtion({ k: v }) -> void | - | | stanardStyle | funtion() -> void | - | | setPropsStyle | funtion({ k: v }) -> void | - | | setText | funtion(str) -> void | - | | render | funtion() -> DOM | - |
vTree Prototypes
ps: vTree follow functor rules
| Field | type | default | | ---- | ---- | ---- | | getVTree | function() -> vTree | - |