Hello I'm trying to understand the state mechanism. I'm beginning to get a clue so I thought I'd write it down before I forgot.
In the "tabs" example there is the following code: ``` <<tabs "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour" "SampleTabOne" "$:/state/tab1">> ``` I made a tiddler called StateWatcher with the following code ``` <$list filter="[prefix[$:/state/tab1]]"> Content of <<currentTiddler>> = <$transclude tiddler = <<currentTiddler>> /> </$list> ``` The first time I load the tiddler containing the tabs the StateWatcher shows nothing. When I click on a tab the stateWatcher says there is a tiddler called `$:/state/tab1-2537135` and this tiddler contains the name of the tab I just clicked on. If I close the window containing the tabs the state tiddler is not destroyed. But it's not written to disk - so the state change is transient. This thing with a name like ($:/state/tab1-2889173) seems to be what the documentation calls a `state tiddler` I'd have called it a `Global Variable whose value is wiki text` I'm not sure how to create a state tiddler - so some more experimentation is in order. Cheers /Joe -- 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/c37e612f-dbae-4f06-87a9-388a3301ff8d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
