类型 | 描述 | 示例 |
---|---|---|
configSlide | 数字滑动条,用于配置数字型属性; | { title: "尺寸", type: "configSlide", bind: "itemLabelSize", config: { slideStart: 0, slideEnd: 100 } } |
fontFamily | 字体设置 | { title: "字体", type: "fontFamily", bind: "tFontFamily" } |
text-input-sl | 单行输入框 | { title: "名称", type: "text-input-sl", bind: "name" } |
text-area | 多行输入框 | { title: "内容", type: "text-area", bind: "content" } |
colorpicker | 颜色选择器 | { title: "字体颜色", type: "colorpicker", bind: "fontColor" } |
iconpicker | 图标选择器 | { title: "图标", type: "iconpicker", bind: "icon" } |
toggle-switch | 开关选择器 | { title: "标题", bind: "showTitle", type: "toggle-switch", on: "显示", off: "隐藏" } |
button | 按钮 | { title: "刷新控件", type: "button", btnClass: "btn-success", onClick: function(){ scope.$parent.queryConditionDimensions = true; scope.$broadcast(event_refreshBindingData, {}); } } |