DOCS: Add additional help for how to use 'h' helper with virtual DOM

This commit is contained in:
James Kiesel 2016-03-18 22:11:30 +13:00
parent 88f38f34cc
commit f595ba336a
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ class DecoratorHelper {
* // renders `<div class='some-class'><p>paragraph</p></div>`
* return helper.h('div.some-class', helper.h('p', 'paragraph'));
* ```
* Check out https://github.com/Matt-Esch/virtual-dom/blob/master/virtual-hyperscript/README.md
* for more details on how to construct markup with h.
**/
// h() is attached via `prototype` below