You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Options can all have the following properties,
65
65
66
66
*`string` - `type` - What type of option this is, more info below. Defaults to "checkbox".
67
67
*`string` - `name` - Required. What to save the key as. Also used as class name to add to field containers, in case you'd like to style it further.
68
-
*`string` - `desc`
68
+
*`string` - `desc` - Description of option, supports syntax from [lightdown](https://github.com/WebReflection/lightdown), a markdown-like language.
69
69
*`string` - `preview` - A preview image. Represents the extension of the image, example "png". If this is used, the image must be placed in a `previews` folder where `options.html` is, and named the name as this option's key, which is its name prepended by tab name if any.
70
70
*`Object` - `default` - Default value.
71
71
*`boolean` - `disabled` - The field can be disabled.
@@ -143,7 +143,7 @@ Similar to checkbox with `options`, but without the checkbox. Not just for aesth
143
143

144
144
145
145
*`Array.<Object>` - `fields` - Required. List of fields for this list.
146
-
*`string` - `type` - Only basic field types listed above and custom fields supported.
146
+
*`string` - `type` - Only basic fields, layout types, and custom fields supported.
147
147
*`string` - `name` - Required for non-layout types.
148
148
*`boolean` - `required` - Set to true if you require this particular field to be a truthy value for this row to be saved.
149
149
*`Object` - `bindTo` - Will only display this field if another field with name matching `bindTo.field` has the value `bindTo.value`, which can be be a string or an array of strings.
0 commit comments