1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-30 09:13:16 +00:00
TiddlyWiki5/core
Jeremy Ruston 8e7c0907f8 Add checkactions attribute to Checkbox widget
See discussion at https://groups.google.com/d/msgid/tiddlywiki/526754d5-8786-49cd-aaa1-c77311670116%40googlegroups.com:

The history here is that in v5.1.14 we added an "actions" attribute to the checkbox widget that specified an action string to be specified whenever the state of the checkbox changed. The same action string is executed regardless of whether the checkbox was checked or unchecked.

Then in v5.1.16 we merged https://github.com/Jermolene/TiddlyWiki5/pull/3182 which added the "uncheckactions" attribute. The difference between the two is that the uncheckactions are only executed if the checkbox is unchecked. The main "actions" attribute is executed before any actions in "uncheckactions", which makes it possible to arrange things so that the "actions" attribute sets things to the checked state while the "uncheckactions" attribute overwrites those changes to set things to the unchecked state.

In retrospect, it would have made more sense to have also added a "checkactions" attribute that was executed only if the checkbox was checked. I'll investigate adding it for v5.1.20.
2019-07-14 13:42:43 +01:00
..
images Add gitter svg + HelloThere link (#3655) 2018-12-19 09:11:43 +00:00
language Update Buttons.multids 2019-07-04 09:00:34 +02:00
modules Add checkactions attribute to Checkbox widget 2019-07-14 13:42:43 +01:00
palettes Update/fix nord palette notification background (#4031) 2019-06-29 08:15:46 +01:00
templates Fix problem with extraneous raw markup in saved files 2019-02-07 18:30:17 +00:00
ui Make it possible to distinguish the two different sidebar elements with the class "tc-sidebar-lists" 2019-07-11 22:00:28 +01:00
wiki Update ShortcutInfo.multids 2019-07-04 08:59:23 +02:00
acknowledgements.tid Remove extraneous text/vnd.tiddlywiki from system tiddlers in light of #2883 2017-06-09 15:42:32 +01:00
copyright.tid Update for 2018 🎉🎊 2018-01-11 12:32:24 +00:00
icon.tid Experimental SVG Compression 2015-03-31 14:39:36 +01:00
plugin.info Consistent plugin descriptions 2015-02-17 10:28:54 +00:00
readme.tid Add/update plugin readmes 2014-08-07 15:49:52 +01:00
sjcl-license.tid Move SJCL license file into core plugin 2017-04-23 09:53:18 +01:00

title: $:/core/readme

This plugin contains TiddlyWiki's core components, comprising:

* JavaScript code modules
* Icons
* Templates needed to create TiddlyWiki's user interface
* British English (''en-GB'') translations of the localisable strings used by the core