mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-13 21:34:51 +00:00
Clarify handling of title lists in ActionListopsWidget documentation (#8184)
* Improve section on subfilter expressions * Further refinement of the info box.
This commit is contained in:
parent
5856bd8342
commit
cd2d4b3eb7
@ -1,6 +1,6 @@
|
|||||||
caption: action-listops
|
caption: action-listops
|
||||||
created: 20141025120850184
|
created: 20141025120850184
|
||||||
modified: 20230805103548113
|
modified: 20240509135041526
|
||||||
myfield:
|
myfield:
|
||||||
tags: ActionWidgets Widgets
|
tags: ActionWidgets Widgets
|
||||||
title: ActionListopsWidget
|
title: ActionListopsWidget
|
||||||
@ -35,10 +35,12 @@ The above widget will toggle the presence of the element <<.value "List Item">>
|
|||||||
Similarly, if an element is to always be removed when it is present, the `-` / `:except` [[filter run prefix|Filter Expression]] can be used. Both of the following yield the same result:
|
Similarly, if an element is to always be removed when it is present, the `-` / `:except` [[filter run prefix|Filter Expression]] can be used. Both of the following yield the same result:
|
||||||
|
|
||||||
```
|
```
|
||||||
<$action-listops $subfilter="-[[List Item]]"/>
|
<$action-listops $subfilter="-[[ListItem]]"/>
|
||||||
<$action-listops $subfilter="+[remove[List Item]]"/>
|
<$action-listops $subfilter="+[remove[ListItem]]"/>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<<.infoBox """Note that the parameter of the [[remove Operator]] is a [[Title List]]. To remove one or more titles containing spaces the individual titles must be wrapped in double square brackets, usually via a soft [[Filter Parameter]]. See //Filtered List Variable Assignment// in the [[SetWidget]] documentation to learn more.""">>
|
||||||
|
|
||||||
Without any prefixes, the filter run output is simply [[dominantly appended|Dominant Append]] to the list.
|
Without any prefixes, the filter run output is simply [[dominantly appended|Dominant Append]] to the list.
|
||||||
|
|
||||||
See also the [[Examples|ActionListopsWidget (Examples)]].
|
See also the [[Examples|ActionListopsWidget (Examples)]].
|
||||||
|
Loading…
Reference in New Issue
Block a user