Hi Dave,
Nice example. I have modified your function a bit to be a bit more
self-explanatory...
var toggleTagBasedOnFoo = function(tiddler, tag){
store.setTiddlerTag(tiddler, config.options.chkFoo, tag);
}
Notice that for foo to actually be a boolean / checkbox option it's going
to be in the form of *chk*Foo.
Although admittedly not so frequented, I guess TiddlyWikiDev is still the
better group discussions like these.
Would you mind expanding on the use case for setting a tag depending on an
option? Thanks!
Cheers, Tobias.
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.