Joe, "which widgets best illustrate the dynamic nature of the TW?
- A list widget in one open tiddler, or in the sidebar tabs will refresh with new or removed members the moment they are changed. - If you have a tiddler tagged $:/tags/ViewTemplate and within that a conditional display, eg show if field tiddlter-type = task, display some content, as soon as any open tiddler (0 or more) meets that condition the view will change to include your additional content. To me these are the most obviouse examples, are you looking for something more specific? Regards tony On Saturday, 5 January 2019 08:50:48 UTC+11, joearms wrote: > > Interesting - I notice checkbox was not in any of your lists. My > one-liner was very instructive: > > <$checkbox tag="welcome"> welcome? </$checkbox> > > > Playing with this in live preview mode showed the symmetric nature of the > data binding. > > When I toggled the checkbox the tag "welcome" came and went. > > The *exciting* thing was that the checkbox changed when I manually added or > removed the tag. > > This single line and some playing around made more sense to me than the > documentation. > > Once I *understood* the behaviour THEN the documentation made sense. > > From this point of view, I could repeat my question only with time asking > "which widgets best illustrate the dynamic nature of the TW? > > You get a lot of mileage from <$checkbox> so it would be nice to show this > to the beginner who > cannot program :-) > > Cheers > > /Joe > > On Sunday, 23 December 2018 14:05:47 UTC+1, Jeremy Ruston wrote: >> >> Hi Joe, >> >> My take on the 5 most important widgets to learn would be: >> >> * <$transclude> >> * <$set> (note that <$tiddler> is really just an instance of the <$set> >> widget) >> * <$list> >> * <$text> >> * <$link> >> >> And if I was allowed another 5 they would be: >> >> * <$macrocall> >> * <$edit-text> >> * <$button> >> * <$navigator> >> * <$reveal> >> >> There’s also a bundle of widgets that I consider to be hacks that have >> hung over from the very early days of TW5. At the beginning we didn’t have >> flexible enough primitives to model some behaviour (like the story river), >> and so there’s a number of widgets that encapsulate blobs of JavaScript >> that could soon be replaced by more generic, smaller components: >> >> * <$navigator> >> * <$fieldmangler> >> * <$linkcatcher> >> * <$encrypt> for encrypting the payload of standalone HTML TiddlyWikis >> * <$raw> >> >> Best wishes >> >> Jeremy >> >> >> > On 22 Dec 2018, at 21:40, Joshua Fontany <[email protected]> wrote: >> > >> > The most important widget to learn is the $tiddler widget. For example, >> the {{}} wikitext is shorthand for >> <$tiddler><$transclude>...</$transclude></$tiddler> >> > >> > It changes the <<curreTiddler>> variable for all children and thus the >> "context" of any transcluded content or templates. >> > >> > -- >> > 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/6bcdd3b1-ce4d-4edc-849d-a6f6f509fe2b%40googlegroups.com. >> >> >> > For more options, visit https://groups.google.com/d/optout. >> >> -- 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/334de765-d0f9-4a93-86ef-fd86d0453a66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
