1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-05-28 08:12:19 +00:00

Improve formatting of CheckboxWidget docs

The \define() calls that are short enough to fit on one line should be
put on one line, for readability. The ones that are quite long have been
kept on multiple lines, for readability.
This commit is contained in:
Robin Munn
2022-03-25 10:08:11 +07:00
parent ce449ce919
commit d6d26b55dd
@@ -6,13 +6,8 @@ colors: red orange yellow blue
title: CheckboxWidget
type: text/vnd.tiddlywiki
\define checkActions()
<$action-listops $field="colors" $subfilter="-red green"/>
\end
\define uncheckActions()
<$action-listops $field="colors" $subfilter="red -green"/>
\end
\define checkActions() <$action-listops $field="colors" $subfilter="-red green"/>
\define uncheckActions() <$action-listops $field="colors" $subfilter="red -green"/>
\define filterExample()
<$checkbox filter="[list[!!colors]]" checked="green" unchecked="red" default="red" checkactions=<<checkActions>> uncheckactions=<<uncheckActions>> > Is "green" in colors?</$checkbox><br />''colors:'' {{!!colors}}