1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-29 21:09:56 +00:00
TiddlyWiki5/core/modules/widgets
Jeremy Ruston 62bb8affa4
Add data attribute support to button and other widgets (#7769)
* Add data attribute support to button widget

* Fix typo

* Refactor ready for making mechanism more generic

* Apply more generic implementation to multiplate widgets

* Refactor to use existing widget.assignAttributes() method

* Fix typo

* Clarify docs

* Update docs

* Update select widget to support style.* attributes

* Remove obsolete comment

* Fixes refresh issues for checkbox and links widgets for data attributes (#7846)

* fix: refresh issues with checkbox and links widgets

* fix: indenting

* Feat: add support for data attributes to Draggable and Droppable widgets (#7845)

* Docs clarification

* docs: add style and data attributes to Draggable and Droppable widget docs (#7850)

* Refactors Select widget to directly create DOM node (#7848)

* fix: refactored SelectWidget to directly create DOM nodes

* fix: refactored SelectWidget to directly create DOM nodes

* fix: improve refresh handling for select widget

* Fixes issues in the PR "Button widget data attributes" (#7852)

* fix: fixed ordered attributes handling and improved tests to catch event attributes

* fix: clean up code from testing

* fix: more tests and refactoring

* fix: use lowercase when checking for event attribute prefix

* fix: use lowercase when checking for event attribute prefix

* fix: changed comment wording

* fix: minor refactoring

* refactor: for brevity

---------

Co-authored-by: Saq Imtiaz <saq.imtiaz@gmail.com>
2023-11-22 20:05:40 +00:00
..
action-confirm.js Fix(action-confirm): check if event is defined before accessing its properties (#6063) 2021-09-22 13:43:02 +01:00
action-createtiddler.js Action-createtiddler: Ensure child widgets are refreshed before invocation 2021-06-14 18:13:51 +01:00
action-deletefield.js Fix removing a field with empty name (#6888) 2022-08-09 18:44:45 +02:00
action-deletetiddler.js More action-deletetiddler fixes 2014-11-09 16:53:33 +00:00
action-listops.js Remove erroneously included code 2022-03-18 12:40:12 +00:00
action-log.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
action-navigate.js tm-navigate: add separate properties to access bounds of client rectangle 2021-07-05 09:52:17 +01:00
action-popup.js Fixed PR to fix popup position if popup is triggered from within an offsetParent element (#7013) 2022-12-01 21:16:44 +00:00
action-sendmessage.js Fix typo in d5f72cb282 2021-10-28 09:18:54 +01:00
action-setfield.js action-setfield shouldn't write to the current tiddler if the $tiddler attribute is present but has evaluated to a missing attribute 2022-04-16 18:02:27 +01:00
action-setmultiplefields.js Set multiple fields/variables/params using filters (#6130) 2021-10-27 11:20:11 +01:00
browse.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
button.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
checkbox.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
codeblock.js Fix refreshing of codeblock widget 2021-11-05 08:28:56 +00:00
count.js Fix count widget to return "0" for an empty filter string instead of undefined 2020-04-09 11:04:50 +01:00
diff-text.js Fix diff-text widget crash with empty/missing attributes 2023-05-18 12:47:40 +01:00
draggable.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
droppable.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
dropzone.js Correct handling of pasting tiddlers (#7215) 2023-05-06 14:02:16 +01:00
edit-binary.js Add download button/link to binary tiddler warning banners in view and edit mode (#4423) 2020-01-31 09:13:28 +00:00
edit-bitmap.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
edit-shortcut.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
edit-text.js Introduce text editor toolbar (#2315) 2016-04-22 08:36:29 +01:00
edit.js Revert "Bidirectional text improvements (#4541)" 2023-06-21 17:13:33 +01:00
element.js Fix crash with illegal tag names for element widget 2022-12-20 17:31:51 +00:00
encrypt.js Refactor wiki.filterTiddlers() 2014-04-27 20:03:33 +01:00
entity.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
error.js Improve recursion detection for transclusion and filters (#6970) 2022-10-01 10:13:40 +01:00
eventcatcher.js Fix: eventcatcher widget - variables can be undefined (#6668) 2022-05-06 17:11:13 +01:00
fieldmangler.js Add support for JSON-formatted tiddler store, and make it the default (#5708) 2021-07-14 09:15:30 +01:00
fields.js Add new parameters to fields-widget and fields-operator. (#4433) 2020-04-15 12:36:48 +01:00
fill.js Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
genesis.js Fixed issue where $genesis didn't pass isBlock (#7230) 2023-02-10 10:17:32 +00:00
image.js Add usemap attribute to image widget (#7634) 2023-11-21 11:44:39 +00:00
importvariables.js Trim whitespace when importing variables in $importvariables (#7611) 2023-07-17 09:18:42 +01:00
jsontiddler.js Fix bug with innerwiki template 2021-10-02 16:17:07 +01:00
keyboard.js Allow global keyboard shortcuts to override all other shortcuts by providing a special field (#6735) 2022-10-07 17:31:04 +01:00
let.js Improved fix for #7270 2023-03-10 09:41:36 +00:00
link.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
linkcatcher.js Linkcatcher should pass through event objects (#7401) 2023-05-06 12:07:55 +01:00
list.js Alternate fix for inconsistent list template syntax (#7827) 2023-11-06 21:18:31 +00:00
log.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
macrocall.js Transclude widget should use fallback content if variable is missing or blank 2023-05-11 16:26:18 +01:00
messagecatcher.js Fix typo in messagecatcher widget 2023-01-16 19:34:02 +00:00
navigator.js Fix importTitle and autoOpenOnImport in the tm-import-tiddler message (#7243) 2023-02-11 09:15:44 +00:00
parameters.js Parameterised transclusions (#6666) 2023-04-19 11:55:25 +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 Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
range.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
raw.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
reveal.js Revert "Bidirectional text improvements (#4541)" 2023-06-21 17:13:33 +01:00
scrollable.js Scrollable widget: Fix crash in CI 2023-11-21 11:49:34 +00:00
select.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
setmultiplevariables.js Set multiple fields/variables/params using filters (#6130) 2021-10-27 11:20:11 +01:00
setvariable.js Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
slot.js Add fillignore attribute to transclude widget to fix visible transclusion (#7451) 2023-05-14 21:25:35 +01:00
text.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
tiddler.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
transclude.js Fix refreshing of transcluded functions (#7698) 2023-10-14 09:44:18 +01:00
vars.js Add $let widget (#6148) 2021-10-30 11:42:22 +01:00
view.js Extend encodeuricomponent to process additional characters (#7128) 2023-01-19 17:45:54 +00:00
widget.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
wikify.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00