1.0.2 • Published 3 years ago

html2vnode v1.0.2

Weekly downloads
2
License
ISC
Repository
-
Last release
3 years ago

html2vNode

View

alt

Install

with cdn

<script src="https://cdn.jsdelivr.net/npm/html2vnode@1.0.0/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

Fieldtypedefault
getTagNamefunction() -> tagName-
setPropsfuntion({ k: v }) -> void-
stanardStylefuntion() -> void-
setPropsStylefuntion({ k: v }) -> void-
setTextfuntion(str) -> void-
renderfuntion() -> DOM-

vTree Prototypes

ps: vTree follow functor rules

Fieldtypedefault
getVTreefunction() -> vTree-

License

MIT.1839333350@qq.com