[tw5] Re: variable and state tiddler

2019-07-21 Thread Mohammad
Thanks Mario! Simple logic, simpler programming, make it easier to understand and maintain! By the way, it seems as far as compatibility and less diversity is a concern, It may be better to stick to current syntax and feature! Cheers Mohammad On Sunday, July 21, 2019 at 11:15:34 AM UTC+4:30,

[tw5] Re: variable and state tiddler

2019-07-21 Thread PMario
On Sunday, July 21, 2019 at 7:55:24 AM UTC+2, Mohammad wrote: > > Thanks for your reply! I know for for global variable (state) we need > something like state tiddler! > My question was to have state var for simple cases like in place toggle > button! This avoid creating extra tiddlers! > Why

[tw5] Re: variable and state tiddler

2019-07-20 Thread Mohammad
Hi Mario Thanks for your reply! I know for for global variable (state) we need something like state tiddler! My question was to have state var for simple cases like in place toggle button! This avoid creating extra tiddlers! --Mohammad On Sunday, July 21, 2019 at 9:48:17 AM UTC+4:30, PMario

[tw5] Re: variable and state tiddler

2019-07-20 Thread PMario
Hi, How can you control the reveal state from the sidebar??? -m -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view

[tw5] Re: variable and state tiddler

2019-07-20 Thread PMario
Hi, IMO this doesn't make sense. The good thing for TW is, that the internal state can be 100% controlled with tiddlers. Everything can be controlled using tiddlers. It would be a huge regression, if this functionality would be lost. have fun! mario -- You received this message because

[tw5] Re: variable and state tiddler

2019-07-20 Thread Mohammad
Note This is a proposal! Note that TW still creates a state tiddler here it creates a tiddler show and hide! My proposal is to remove needs for state tiddlers in such a case! --Mohammad On Sunday, July 21, 2019 at 6:58:33 AM UTC+4:30, Mohammad wrote: > > Example > Create a tiddler in

[tw5] Re: variable and state tiddler

2019-07-20 Thread Mohammad
Example Create a tiddler in https://tiddlywiki.com/ and put below script inside the it and save! <$vars stVar="show"> <$button set=<> setTo="show">Show me <$button set=<> setTo="hide">Hide me <$reveal type="match" state=<> text="show"> ! This is the revealed content And this is some text