全部產品
Search
文件中心

DataV:padding

更新時間:Feb 05, 2024

padding表示組件的配置項類型為邊距套件,支援定義上下左右四個邊的內邊距數值。

配置項說明

欄位含義資料類型預設值備忘
min最小值number0無。
max最大值numberInfinity無。

值說明

條件資料類型樣本預設值
object
{
  "top": 5,
  "bottom": 10,
  "left": 10,
  "right": 5
}
{
  "top": 5,
  "bottom": 10,
  "left": 10,
  "right": 5
}

配置樣本

內邊距
{
  "padding": {
    "type": "padding",
    "name": "內邊距",
    "default": {
      "top": 5,
      "bottom": 10,
      "left": 10,
      "right": 5
    },
    "min": 0,
    "max": 1000
  }
}