openmct/platform/features/pages/bundle.json
Henry 39b3e6c4a9 [Edit Mode] Limit context menu options available for objects in edit mode
[Edit Mode] Edit mode on objects that do not have a view supporting editing should edit properties instead. #320
2015-12-09 18:14:17 -08:00

38 lines
1.2 KiB
JSON

{
"extensions": {
"types": [
{
"key": "example.page",
"name": "Web Page",
"glyph": "\u00EA",
"description": "A component to display a web page or image with a valid URL. Can be added to a Display Layout.",
"features": [ "creation" ],
"properties": [
{
"key": "url",
"name": "URL",
"control": "textfield",
"pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$",
"required": true
}
]
}
],
"views": [
{
"templateUrl": "iframe.html",
"name": "Page",
"type": "example.page",
"key": "example.page",
"editable": false
}
],
"controllers": [
{
"key": "EmbeddedPageController",
"implementation": "EmbeddedPageController.js",
"depends": ["$sce"]
}
]
}
}