|
@@ -56,7 +56,7 @@
|
|
|
"&lt;a&gt;&lt;/a&gt;"</code></figure>
|
|
|
<a name="render"></a>
|
|
|
<h4>wire(list(#action{})) -> [].</h4>
|
|
|
- <p>Updates the process dictionary <b>actions</b> variable with the new list of records inhereted from <b>#action</b>.
|
|
|
+ <p>Updates the process dictionary <b>actions</b> variable with the new list of records inherited from <b>#action</b>.
|
|
|
This process dictionary variable is a way data is passed from your <b>event</b> handlers into the output rendering pipeline.
|
|
|
This is fixed by Nitrogen Web Framework API.</p>
|
|
|
<figure><code> > nitro:wire([#alert{text="hello"}]).
|
|
@@ -76,7 +76,7 @@
|
|
|
source = []}]</code></figure>
|
|
|
<a name="insert_top"></a>
|
|
|
<h4>render(list(#action{} | #element{})) -> binary().</h4>
|
|
|
- <p>Renders HTML5 binary string by the record inhereted from <b>#element</b>.</p>
|
|
|
+ <p>Renders HTML5 binary string by the record inherited from <b>#element</b>.</p>
|
|
|
<figure><code> > rr(nitro).
|
|
|
[abbr,action,address,alert,api,area,article,aside,audio,
|
|
|
author,b,base,bdi,bdo,bind,blockquote,body,br,button,
|