mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
Merge pull request #4092 from gdpelican/vdom-helptext
DOCS: Add additional help for how to use 'h' helper with virtual DOM
This commit is contained in:
commit
91e2a60369
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user