This is the main one that I know of: http://cjhunt.github.io/
The most useful part is part 3 of "A Simple Widget". My approach has been to find an existing widget that seems most similar to the widget that I want. Then copy it, change the various name-space aspects, and alter the code to do what I want. sometimes it works. HTH, Mark On Monday, August 17, 2015 at 9:44:18 AM UTC-7, Mike Sutton wrote: > > TW5 version 5.1.7. > Are there any good references on developing plugins or widgets in TW5 that > you know of? > Thanks, > > Mike > > On Monday, 17 August 2015 15:47:23 UTC+1, Mark S. wrote: >> >> You don't say in your post if you mean TW5 or TWC. There were ways to use >> JS in TWC. In TW5, you have to write a plugin or widget. This is supposed >> to make TW5 safer, though I'm sure hackers could write plugins. For the >> rest of us, it just makes TW a little less versatile. >> >> Good luck! >> Mark >> >> On Monday, August 17, 2015 at 4:28:56 AM UTC-7, Mike Sutton wrote: >>> >>> What I'm looking to be able to do is for the user to enter some text in >>> a text box in a tiddler, press a button and have a piece of JavaScript run >>> using the contents of the text box as input. Having the output of the >>> JavaScript function injected into the page somehow is a bonus, but if not >>> then a simple alert box or console.log would suffice. >>> >>> I've been looking into macros, but have yet to find any that use this >>> sort of dynamic input/output. >>> >>> This is pretty simple to accomplish in vanilla web development, but I'm >>> trying to write it the Tiddly way, any pointers? >>> >>> Thanks, >>> >>> Mike >>> >> -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8a814e32-b201-4b96-b785-502c8e1b88bc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

