Hi! I don't understand how to make js buttons with parameter.
For example this button must put 2 values to local storage of my site
<$button>
<$action-sendmessage $message="tm-putdatatols"
param1={{!!modified}} param2={{!!title}}/>
put data to LS
</$button>
I understand, that I have to create "putdatatols.js" tiddler and put my js
script in it. Something like in $:/core/modules/utils/dom/notifier.js
<https://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Futils%2Fdom%2Fnotifier.js>
but its code is very difficult for me. If i have more simple example, I
will be able to write my own script.
Help me please.
--
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/1820d5a4-d59e-4920-a8a5-081cf3d8813e%40googlegroups.com.