Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

 

 

类型描述示例
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, {});
	}
}
   
   
   
   
   

 

 

 

 

 

  • No labels