mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 21:27:52 +00:00
[API] Add creatable property to example
This commit is contained in:
parent
23eff4b924
commit
833bad067e
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
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user