widgets.pbImage.pbImage.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ui-designer-artifact-builder-generator-angularjs Show documentation
Show all versions of ui-designer-artifact-builder-generator-angularjs Show documentation
This module is a generator on AngularJS for Artifact Builder
{
"id" : "pbImage",
"name" : "Image",
"type" : "widget",
"custom" : false,
"modelVersion" : "2.6",
"description" : "Display an image from assets or from a URL",
"template" : "@pbImage.tpl.html",
"properties" : [
{
"label" : "Source Type",
"name" : "srcType",
"type" : "choice",
"defaultValue" : "URL",
"choiceValues" : [
"URL",
"Asset"
],
"bond" : "constant"
},
{
"label" : "URL",
"name" : "url",
"showFor" : "properties.srcType.value === 'URL'",
"type" : "text",
"bond" : "expression"
},
{
"label" : "Asset Name",
"name" : "assetName",
"showFor" : "properties.srcType.value === 'Asset'",
"type" : "text",
"bond" : "expression"
},
{
"label" : "Alternate text",
"name" : "alt",
"help" : "Specifies an alternate text for an image. The text should describe the image if the image contains information or should be left empty if the image is only for decoration",
"type" : "text",
"bond" : "interpolation"
}
],
"assets" : [ ],
"requiredModules" : [ ],
"webResources" : [ ],
"icon" : "",
"order" : 15,
"hasHelp" : false
}