I'm resurrecting this thread because it happens to me to be in the same 
situation: I want to make some tag-pill to execute some action.

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>>/>

I've attached the JSON version of this to save you copy pasting time if you 
want to try and see yourselves.
I suspect actions works differently for tag-pill but there are no working 
examples in tiddlywiki.com.

Any clue?

On Friday, 8 January 2021 at 18:54:44 UTC+1 [email protected] wrote:

> I see the documentation on the tag-pill macro is missing the examples. I 
> was wondering how the "actions" parameter would be filled out.

-- 
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/3a97264b-8424-43c6-9400-7b6f9f01f743n%40googlegroups.com.

Attachment: Sample book tiddler.json
Description: application/json

Reply via email to