On Thursday, February 20, 2020 at 11:03:58 PM UTC-8, Mohammad wrote:
>
> I am using $link to create some links using $list widget!
> I want to save the title of clicked item in a temporary tiddler for
> further processing. We know the $link widget does not supports actions
> How can I do this?
>
How about using a $button instead of the $link widget? Something like this:
\define showlink(item)
<$tiddler tiddler=<<__item__>>>
<$button class="tc-btn-invisible">
<$view field="caption"><$view field="title"/></$view>
<$action-setfield $tiddler=<<tidSelectedItem>> text=<<currentTiddler>>
/>
<$action-navigate />
</$button>
</$tiddler>
\end
Note: I used the <$tiddler> widget to set the <<currentTiddler>> to the
<<__item__>>. This is just so the $view and $action-navigate widgets can
use their default parameters for $tiddler and $to
-e
--
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/9b73736b-9c22-41a3-91f7-da84cad6556a%40googlegroups.com.