Re: How to get the currentTiddler variable in javascript

66 views
Skip to first unread message
Message has been deleted

FrD

unread,
May 29, 2017, 6:29:58 AM5/29/17
to TiddlyWiki
Hi,

From inside a widget or a macro, just call :
this.getVariable("currentTiddler");

This method is defined in

$:/core/modules/widgets/widget.js

Have a look at this file.

Regards

FrD

Le lundi 29 mai 2017 11:44:31 UTC+2, Conner Phillips a écrit :
I'm guessing this is through the $tw.wiki interface somehow?

Thanks!
Reply all
Reply to author
Forward
0 new messages