1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 23:40:45 +00:00
TiddlyWiki5/core/modules/widgets
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
..
action-createtiddler.js Improve action-createtiddler to return a draft title too 2019-06-04 12:33:01 +01:00
action-deletefield.js Action-deletefield should only update tiddler modified/created if it is changed 2017-03-19 19:30:52 +00:00
action-deletetiddler.js More action-deletetiddler fixes 2014-11-09 16:53:33 +00:00
action-listops.js Adjust listops widget to only modify tiddler if tags have changed 2017-03-24 09:57:22 +00:00
action-navigate.js Fix action-navigate widget for undefined event (#3542) 2018-11-15 16:49:41 +00:00
action-sendmessage.js Add page print button 2016-10-20 09:44:52 +01:00
action-setfield.js Revert "Merge pull request #2166 from matabele/patch-5" 2016-01-06 09:38:39 +00:00
browse.js Browse widget: add support for nwdirectory attribute 2017-10-03 21:52:51 +01:00
button.js Bugfix button widget: popupTitle refresh (#3650) 2018-12-17 10:52:20 +00:00
checkbox.js Add checkactions attribute to Checkbox widget 2019-07-14 13:42:43 +01:00
codeblock.js Clean up the highlight plugin 2014-02-10 13:51:38 +00:00
count.js Refactor wiki.filterTiddlers() 2014-04-27 20:03:33 +01:00
diff-text.js Improve diff count for diff-text widget 2018-04-03 17:50:17 +01:00
draggable.js draggable widget: actions on drag-start and drag-end (#3203) 2018-04-08 10:29:17 +01:00
droppable.js Droppable widget - passing modifiers as variables (#3167) 2018-03-14 17:52:13 +00:00
dropzone.js Partial fix for the sticky dropzone on firefox (#3809) 2019-03-02 16:13:36 +01:00
edit-binary.js Add banner for binary tiddlers in edit mode 2014-05-02 09:43:39 +01:00
edit-bitmap.js Fix problem with rotate-left bitmap operation 2018-03-22 10:46:57 +00:00
edit-shortcut.js Fix typo in edit-shortcut widget refresh - missing focus attr (#3815) 2019-03-02 18:16:55 +01:00
edit-text.js Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
edit.js Adding optional tabindex attr to simple, framed and cm engines (#3756) 2019-02-08 16:11:39 +00:00
element.js Add support for rebasing headings at render time 2018-06-10 15:54:23 +01:00
encrypt.js Refactor wiki.filterTiddlers() 2014-04-27 20:03:33 +01:00
entity.js Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
fieldmangler.js Ensure fieldmangler widget always updates modifier/modified fields 2017-09-20 14:09:18 +01:00
fields.js Fix problem with unsafe use of String.prototype.replace() 2016-08-06 14:45:33 +01:00
image.js Fix problem with lazy loading images 2016-05-02 10:29:26 +01:00
importvariables.js Restrict variable substitutions to macros defined with the define pragma 2018-06-15 08:31:02 +01:00
keyboard.js FIX for keyboard widget keyInfoArray (#3544) 2018-11-15 21:40:27 +00:00
link.js Use default link text when link widget has no content 2019-06-10 21:04:21 +01:00
linkcatcher.js Fix linkcatcher recursion problem 2017-07-10 14:43:43 +01:00
list.js Undo 664225f6fd and 56640b90bb 2016-10-26 21:41:41 +01:00
macrocall.js Make macro parameters available as variables in wikified macros (#3063) 2017-12-16 09:10:10 +00:00
navigator.js Improve action-createtiddler to return a draft title too 2019-06-04 12:33:01 +01:00
password.js Fix default password 2013-11-10 19:22:10 +00:00
qualify.js Change qualify widget parameter name to match qualify macro 2018-11-06 16:41:18 +00:00
radio.js sets checked class for radio widget wrapper / label (#2182) 2018-04-08 09:52:41 +01:00
range.js Add Range widget (#2988) 2018-04-24 22:05:05 +01:00
raw.js Added missing RawWidget 2013-12-21 16:11:48 +00:00
reveal.js Reveal widget: add option to avoid clamping popup position 2019-07-04 15:58:27 +01:00
scrollable.js Rename "tw-*" messages to "tm-*" 2014-08-28 21:43:44 +01:00
select.js Add tooltip attribute to select widget 2019-03-04 12:24:16 +00:00
setvariable.js Restrict variable substitutions to macros defined with the define pragma 2018-06-15 08:31:02 +01:00
text.js Fixed text widget crashing when text is missing 2014-08-28 20:20:38 +01:00
tiddler.js Refine refreshing of tiddler widget 2014-11-09 17:10:18 +00:00
transclude.js Add localisable strings for error (#2447) 2016-05-17 21:58:47 +01:00
vars.js Tweaks to #1678 2015-05-07 19:44:08 +01:00
view.js Add "mode" attribute to View widget 2017-08-24 20:58:08 +01:00
widget.js Add support for widget subclassing 2019-03-17 12:25:15 +00:00
wikify.js Add 'formattedtext' output type to Wikify widget 2016-10-18 09:13:52 +01:00