mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 23:53:49 +00:00
[API] Add creatable property to example
This commit is contained in:
3
API.md
3
API.md
@ -73,7 +73,8 @@ Custom types may be registered via
|
|||||||
```
|
```
|
||||||
openmct.types.addType('my-type', new openmct.Type({
|
openmct.types.addType('my-type', new openmct.Type({
|
||||||
label: "My Type",
|
label: "My Type",
|
||||||
description: "This is a type that I added!"
|
description: "This is a type that I added!",
|
||||||
|
creatable: true
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user