ASTRO轻应用 ASTROZERO-slider:配置示例

时间:2024-04-28 16:09:17

配置示例

slider配置示例如下,配置后效果如图1所示。

{
	"type": "slider",
	"name": "commProps.mySliderStr",
	"value": "64%",
	"label": {
		"zh_CN": "sliderstr的类型",
		"en_US": "sliderstr Type Example"
	},
	"append": "%",
	"step": 0.01,
	"stepStrictly": true,
	"precision": 2,
	"min": 20,
	"max": 100,
	"showInput": true
}
图1 配置后效果
support.huaweicloud.com/usermanualcanvas-astrozero/astrozero_05_7138.html