Joe,
On Fri, Jan 4, 2019 at 4:50 PM joearms <[email protected]> wrote:
> From this point of view, I could repeat my question only with time asking
> "which widgets best illustrate the dynamic nature of the TW?
>
All TW widgets demonstrate the dynamic nature. There are several others
which demonstrate it in a similar way to the checkbox. Here is some TW code
which illustrates:
|CheckboxWidget|<$checkbox tiddler="mytest" field="status" checked="open"
unchecked="closed" default="closed"> Is it open?</$checkbox>|
|SelectWidget|<$select tiddler="mytest" field="status">
<option>open</option> <option>closed</option> </$select>|
|RadioWidget|<$radio tiddler="mytest" field="status"
value="open">open</$radio> <$radio tiddler="mytest" field="status"
value="closed">closed</$radio>|
|EditTextWidget|<$edit-text tiddler="mytest" field=status/>|
|Transcluding the field value|{{mytest!!status}}|
Interacting with any of the widgets causes all the others to update.
Exercise:
Remove the tiddler="mytest" and the current tiddler will be used for
storage instead of the tiddler named "mytest". All the examples remain
usable except the edit text widget. With every keystroke, focus is lost in
the widget. Why?
|CheckboxWidget|<$checkbox field="status" checked="open" unchecked="closed"
default="closed"> Is it open?</$checkbox>|
|SelectWidget|<$select field="status"> <option>open</option>
<option>closed</option> </$select>|
|RadioWidget|<$radio field="status" value="open">open</$radio> <$radio
field="status" value="closed">closed</$radio>|
|EditTextWidget|<$edit-text field=status/>|
|Transcluding the field value|{{!!status}}|
Brian
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/CAO5X8Cxz_utt5jQaASexAeZDfpcqxugxqcez6RA7etJCxC5Dqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.