mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
23 lines
640 B
TypeScript
23 lines
640 B
TypeScript
import { widgetFields, FieldData } from "./widget";
|
|
|
|
export const checkboxFields: FieldData[] = [
|
|
...widgetFields,
|
|
{
|
|
name: "checked",
|
|
type: "boolean",
|
|
default: "false",
|
|
description: {
|
|
en: "Whether the checkbox is in the checked state.",
|
|
"zh-CN": "checkbox 是否处于勾选状态。",
|
|
},
|
|
},
|
|
{
|
|
name: "indeterminate",
|
|
type: "boolean",
|
|
default: "false",
|
|
description: {
|
|
en: "Whether the checkbox is in the indeterminate (mixed) state. A click transitions it to the checked state.",
|
|
"zh-CN": "checkbox 是否处于半选状态。点击会转为已选状态。",
|
|
},
|
|
},
|
|
]; |