On Tuesday, July 6, 2021 at 9:04:25 AM UTC-7 [email protected] wrote:
> The action I want to run is navigation to a tiddler whose name is stored
> in a field. I know how to make it work with a button:
> \define actions() <$action-navigate $to={{!!source_type}}/>
> <$button actions=<<actions>>>Click me!</$button>
>
> But when I try to do the same with a tag-pill it doesn't do anything:
> <$macrocall $name="tag-pill" tag={{!!source_type}} actions=<<actions>>/>
>
In order for the tag-pill macro to invoke an $action-* widget, you need to
specify element-tag="$button".
Try this:
\define actions() <$action-navigate $to=<<__tag__>>/>
<$macrocall $name="tag-pill" element-tag="$button" tag={{!!source_type}}
actions=<<actions>>/>
enjoy,
-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/2098dba8-baa4-4c3a-b382-16350b9b5bc7n%40googlegroups.com.