Checkbox¶
Description¶
Shows a simple checkbox, the state of the checkbox will be saved as a boolean.
Parameters¶
Parameter |
Type |
Description |
---|---|---|
type |
string |
Defines the look of the checkbox, can either be “checkbox” or “toggler”. Be aware of the difference between property type and parameter type. |
Examples¶
<property name="available" type="checkbox">
<meta>
<title lang="en">Available</title>
</meta>
</property>
<property name="available" type="checkbox">
<meta>
<title lang="en">Show Author</title>
</meta>
<params>
<param name="type" value="toggler"/>
</params>
</property>