allSelect

複数のcheckboxを一括して選択します。 また、サブとなるcheckboxの選択状態をバッジ形式で表示します。

以下にcheckboxの設定プロパティを記載します。

checkboxの設定
プロパティ 内容 必須 国際化 備考
linkedItems サブとなるcheckboxの項目キーの配列 必須    

allSelectのレイアウトサンプル:

[
  {
    "type": "checkbox",
    "notitle": true,
    "title": "allLang",
    "key": "allLang",
    "linkedItems": [
      "javascript",
      "ruby",
      "python",
      "php"
    ]
  },
  {
    "type": "section",
    "direction": "row",
    "items": [
      {
        "type": "checkbox",
        "notitle": true,
        "key": "javascript",
        "title": "javascript",
        "flex": "1 1 auto"
      },
      {
        "type": "checkbox",
        "notitle": true,
        "key": "ruby",
        "title": "ruby",
        "flex": "1 1 auto"
      },
      {
        "type": "checkbox",
        "notitle": true,
        "key": "python",
        "title": "python",
        "flex": "1 1 auto"
      },
      {
        "type": "checkbox",
        "notitle": true,
        "key": "php",
        "title": "php",
        "flex": "1 1 auto"
      }
    ]
  }
]