Thank you Saq!
I noted this in the TW-Scripts! That is quite correct!

Best wishes
Mohammad


On Sat, Apr 24, 2021 at 7:58 PM Saq Imtiaz <[email protected]> wrote:

> Important to be aware though that the refresh performance is of necessity
> rather slow when using this new attribute, so I would not suggest using it
> with larger numbers of tiddlers or complex templates where performance is a
> concern.
>
> For a small list like the one posted as an example in this thread, the
> performance different should be negligible.
>
> On Saturday, April 24, 2021 at 5:22:40 PM UTC+2 Mohammad wrote:
>
>> You may now, the $list widget, is the most common widget you use in
>> Tiddlywiki! It is everywhere like a nice dog!
>>
>> The $list widget in 5.1.24 has got a new attribute index! in which the
>> numeric index of each listed tiddler is stored  It can produce very nice
>> results like below
>>
>>
>> <$list filter="[tag[About]sort[title]]" index="index">
>> <div>
>> <<index>>: ''<$text text=<<currentTiddler>>/>'' (is first: <<index-first>>, 
>> is last: <<index-last>>)
>> </div>
>> </$list>
>>
>>
>>
>> Displays as:
>>
>> 0: Acknowledgements (is first: yes, is last: no)
>> 1: Contributors (is first: no, is last: no)
>> 2: History of TiddlyWiki (is first: no, is last: no)
>> 3: License (is first: no, is last: no)
>> 4: Releases (is first: no, is last: no)
>> 5: RoadMap (is first: no, is last: yes)
>>
>> Ah this is lovely!
>>
>>
>>
>>
>> Best wishes
>> Mohammad
>>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a9c51bca-41f0-460e-9e51-5907321362e5n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/a9c51bca-41f0-460e-9e51-5907321362e5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDZ6iW%3DERBiV1BLviTacM8ymoVNRPcO5s4BEpC1f2Nxrg%40mail.gmail.com.

Reply via email to