Update README.md

This commit is contained in:
Javi Agenjo
2019-04-13 10:41:44 +02:00
committed by GitHub
parent d86dce380d
commit c05c531035

View File

@@ -176,6 +176,16 @@ This is the list of supported widgets:
* **"toggle"** like a checkbox
* **"button"**
Widget's value is not serialized by default when storing the node state, but if you want to store the value of widgets just set serialize_widgets to true:
```
function MyNode()
{
this.addWidget("text","name","");
this.serialize_widgets = true;
}
```
## Integration
To integrate in you HTML application: