mirror of https://github.com/node-red/node-red.git
Updated Design: Node settings (markdown)
parent
6086efd8d3
commit
4f1071324a
|
@ -5,7 +5,7 @@ http://nodered.jp/docs/api/admin/methods/get/settings/
|
||||||
A node can add their own settings to be output with the above settings API.
|
A node can add their own settings to be output with the above settings API.
|
||||||
|
|
||||||
### Adding a setting
|
### Adding a setting
|
||||||
To add a node setting, add settings object in registerType.
|
To add a node setting, add settings object as follows.
|
||||||
```
|
```
|
||||||
RED.nodes.registerType("tls-config", TLSConfig, {
|
RED.nodes.registerType("tls-config", TLSConfig, {
|
||||||
credentials: {
|
credentials: {
|
||||||
|
|
Loading…
Reference in New Issue