Rename checkbox "invert" attribute to "invertTag"

And update docs
This commit is contained in:
Jermolene
2015-06-26 10:18:15 +01:00
parent 22d35bf989
commit 63f802efda
2 changed files with 12 additions and 10 deletions

View File

@@ -1,8 +1,9 @@
title: CheckboxWidget
created: 201310241419
modified: 20150220161154000
tags: Widgets
caption: checkbox
created: 20131024141900000
modified: 20150626091305445
tags: Widgets
title: CheckboxWidget
type: text/vnd.tiddlywiki
! Introduction
@@ -18,6 +19,7 @@ The content of the `<$checkbox>` widget is displayed within an HTML `<label>` el
|!Attribute |!Description |
|tiddler |Title of the tiddler to manipulate (defaults to the [[current tiddler|Current Tiddler]]) |
|tag |The name of the tag to which the checkbox should be bound |
|invertTag |When set to ''yes'', flips the tag binding logic so that the absence of the tag causes the checkbox to be checked |
|field |The name of the field to which the checkbox should be bound |
|checked |The value of the field corresponding to the checkbox being checked |
|unchecked |The value of the field corresponding to the checkbox being unchecked |