1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated API Reference (markdown)

Nick O'Leary 2013-09-07 15:36:07 -07:00
parent 54aa2a07fd
commit 9e90bf23a9

@ -42,26 +42,26 @@
<a name="#wiki-server-Node">#</a> RED.nodes.<b>Node</b>
<a name="server-Node" href="#wiki=server-Node">#</a> RED.nodes.<b>Node</b>
All nodes extend this class. It handles the wiring between nodes and other things. It should not be instantiated directly, rather [RED.nodes.createNode](#server-createNode) should be used.
<a name="#wiki-server-Node-send">#</a> node.<b>send</b>(<i>msg</i>)
<a name="server-Node-send" href="#wiki=server-Node-send">#</a> node.<b>send</b>(<i>msg</i>)
<a name="#wiki-server-Node-receive">#</a> node.<b>receive</b>(<i>msg</i>)
<a name="server-Node-receive" href="#wiki=server-Node-receive">#</a> node.<b>receive</b>(<i>msg</i>)
<a name="#wiki-server-Node-close">#</a> node.<b>close</b>()
<a name="server-Node-close" href="#wiki=server-Node-close">#</a> node.<b>close</b>()
<a name="#wiki-server-Node-log">#</a> node.<b>log</b>(<i>msg</i>)
<a name="server-Node-log" href="#wiki=server-Node-log">#</a> node.<b>log</b>(<i>msg</i>)
<a name="#wiki-server-Node-warn">#</a> node.<b>warn</b>(<i>msg</i>)
<a name="server-Node-warn" href="#wiki=server-Node-warn">#</a> node.<b>warn</b>(<i>msg</i>)
<a name="#wiki-server-Node-error">#</a> node.<b>error</b>(<i>msg</i>)
<a name="server-Node-error" href="#wiki=server-Node-error">#</a> node.<b>error</b>(<i>msg</i>)
<a name="#wiki-server-createNode">#</a> RED.nodes.<b>createNode</b>(<i>node</i>,<i>definition</i>)
<a name="server-createNode" href="#wiki=server-createNode">#</a> RED.nodes.<b>createNode</b>(<i>node</i>,<i>definition</i>)
<a name="#wiki-server-registerType">#</a> RED.nodes.<b>registerType</b>(<i>type</i>,<i>node</i>)
<a name="server-registerType" href="#wiki=server-registerType">#</a> RED.nodes.<b>registerType</b>(<i>type</i>,<i>node</i>)
<a name="#wiki-server-library-register">#</a> RED.library.<b>register</b>(<i>type</i>)
<a name="server-library-register" href="#wiki=server-library-register">#</a> RED.library.<b>register</b>(<i>type</i>)