mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 21:53:08 +00:00
cc181dbdc9
WTD-1002 Added Angular hooks to allow form elements to have JSON defined CSS classes Form element cleanups
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "Sine Wave Generator",
|
|
"description": "Example of a component that produces dataa.",
|
|
"extensions": {
|
|
"components": [
|
|
{
|
|
"implementation": "SinewaveTelemetryProvider.js",
|
|
"type": "provider",
|
|
"provides": "telemetryService",
|
|
"depends": [ "$q", "$timeout" ]
|
|
}
|
|
],
|
|
"types": [
|
|
{
|
|
"key": "generator",
|
|
"name": "Sine Wave Generator",
|
|
"glyph": "T",
|
|
"description": "A sine wave generator",
|
|
"features": "creation",
|
|
"model": {
|
|
"telemetry": {
|
|
"period": 10
|
|
}
|
|
},
|
|
"telemetry": {
|
|
"source": "generator"
|
|
},
|
|
"properties": [
|
|
{
|
|
"name": "Period",
|
|
"control": "textfield",
|
|
"cssclass": "l-small l-numeric",
|
|
"key": "period",
|
|
"required": true,
|
|
"property": [ "telemetry", "period" ],
|
|
"pattern": "^\\d*(\\.\\d*)?$"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |