widgets.pbSaveButton.pbSaveButton.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" : "pbSaveButton",
"name" : "SaveButton",
"type" : "widget",
"custom" : false,
"modelVersion" : "2.6",
"description" : "Save data to / Load data from LocalStorage.",
"template" : "@pbSaveButton.tpl.html",
"controller" : "@pbSaveButton.ctrl.js",
"properties" : [
{
"label" : "Interpret HTML",
"name" : "allowHTML",
"help" : "If you choose 'no', HTML code will be escaped instead of being interpreted. If you choose ‘Yes’, this could potentially lead to HTML injections attacks. Please take into account these risks.",
"type" : "boolean",
"defaultValue" : false,
"bond" : "constant"
},
{
"label" : "Label",
"name" : "label",
"type" : "text",
"defaultValue" : "Save draft",
"bond" : "interpolation"
},
{
"label" : "Alignment",
"name" : "alignment",
"type" : "choice",
"defaultValue" : "left",
"choiceValues" : [
"left",
"center",
"right"
],
"bond" : "constant"
},
{
"label" : "Style",
"name" : "buttonStyle",
"type" : "choice",
"defaultValue" : "default",
"choiceValues" : [
"default",
"primary",
"success",
"info",
"warning",
"danger",
"link"
],
"bond" : "constant"
},
{
"label" : "Value",
"name" : "formInput",
"caption" : "Any variable: myData or myData.attribute.",
"help" : "Data saved on click. You might bind it to the variable you use to initialize your form, e.g. 'formInput'",
"type" : "text",
"defaultValue" : "formInput",
"bond" : "variable"
}
],
"assets" : [ ],
"requiredModules" : [ ],
"webResources" : [ ],
"icon" : "",
"order" : 13,
"hasHelp" : true
}