Open gryphonmyers opened 5 years ago
I needed this feature, so here's a PR.
var myDomNode = document.createElement('div'); myDomNode.id = 'foo'; virtualize(myDomNode, 'id') /* will yield something not unlike: { children: [], properties: { id: 'foo' }, key: 'foo' } */
I needed this feature, so here's a PR.