Hi,

Type "new-tiddler" in the search area in the sidebar.
Then click on advanced search, the on Shadows.
And then open the only ".js" tiddler : $:/core/modules/widgets/navigator.js

Regards

FrD

Le samedi 12 janvier 2019 10:40:47 UTC+1, joearms a écrit :
>
>
>
> I want to find the source code that implements the "tm-new-tiddler" 
> message?
>
> Why do I want it?
>
> I've been looking at the documentation for
> tm_new_tiddler at 
> https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler
>
> Having read this I could not understand what the paramObject was so I 
> experimented a bit and tried this:
>
> <$button>
> <$action-sendmessage $message="tm-new-tiddler" title="Comment" 
> tags="comment" text=<<now "Today is DDth, MMM YYYY">>
> parent = {{!!title}}
> foo = "this"
> bar = "that"
> paramObject = " 'abc':'two' "
> />
> New Comment
> </$button>
>
> When I click this a new tiddler is created with fields 
> parent,paramObject,foo and bar
>
> Very strange - the documentation make no mention of that I can add 
> arbitrary additional fields to the command and I still haven't a clue what 
> paramObject is
>
> So I thought to myself "if all else fails read the code" - trouble is I 
> can't find it.
>
>
> Cheers
>
> /Joe
>
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/30acfb8b-934e-4c16-babd-f3be412755fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to