If your really looking to understand how the code works, my advice is to
look at the sources tab in chrome's developer tools. Press F12 in your
browser window, and look at the sources tab, and you should find a bunch of
.js files under the no-domain entry in the left hand side. The standard
Just go to the shadow tab of the advanced search. Look for the name of the
widget minus the "widget" term. Like
button.js
I'm guessing that the TextWidget would be simplest because it does the
least.
There's some documentation how-to on plugins at http://cjhunt.github.io/
though for me I
I am not sure if it is the simplest widget, but the text widget is one of
the simplest widgets.
It is part of every wiki but here is a link to it on
tiddlywiki.com
https://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Ftext.js
--
You received this message because you are subscribed to
Next question is where is the code for a widget?
I think I understand (famous last words) macros - but not widgets.
Where is the code for a simple widget?
Which is the simplest widget???
Cheers
/Joe
On Tue, Mar 13, 2018 at 10:16 AM, Steven Schneider wrote:
> Great
Great thread. Thanks, Joe. And thanks, Xavier.
What I find most interesting about TiddlyWiki is that someone like Joe and
someone like me can work with it. Joe has a clearly different approach to
learning and understanding than I do. I never looked at the <>
code, just used it for a while
On Saturday, March 10, 2018 at 7:25:48 PM UTC+1, Joe Armstrong wrote:
>
> ...
>
> 2) widgets - what do they return? how are they evaluated?
>
Widgets are the basic building blocks in TW. The whole UI is based on
widgets.
The TiddlyWiki UI starts with a transclusion of the PageTemplate tiddler.
Macros are more like macros in make scripts. They don't really do
anything, but they can concatenate variables or passed values into
strings. Variables with <> are actually macro expansions. You can
use macros to feed into widgets like
<$mywidget text=<>/>
Widgets render something right
7 matches
Mail list logo