1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-17 19:09:55 +00:00
TiddlyWiki5/core/modules/utils
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
..
base64-utf8 Fix incorrect base64 encoding of astral-plane text (#4813) 2020-08-17 17:33:46 +01:00
diff-match-patch Incorporate “diff” engine to show visual differences (#3112) 2018-03-16 20:38:35 +00:00
dom Fix detection of DOM properties 2023-11-21 11:54:37 +00:00
crypto.js Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
csv.js CSV parser improvements (#7042) 2022-11-20 17:51:01 +00:00
edition-info.js Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
escapecss.js Change css-escape-polyfill to a tw uitility method (#5552) 2021-04-02 09:25:01 +01:00
fakedom.js Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
filesystem.js Node.js: Prefer .tid format when a _canonical_uri field present 2023-02-03 19:22:43 +00:00
linked-list.js Linked-List refactor (#6056) 2022-11-27 17:48:08 +00:00
logger.js Log message not to have spaces and <empty string> (#6947) 2022-09-15 12:10:33 +01:00
parsetree.js Fix handling of orderedattributes when adding classes/styles 2022-10-16 17:27:46 +01:00
performance.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
pluginmaker.js Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
transliterate.js Additional transliteration pairs 2021-09-24 18:29:40 +01:00
twuri-encoding.js Simplify Permalink/Permaview URLs (#7729) 2023-11-21 11:24:17 +00:00
utils.js Fix window.btoa call in browser (#7814) 2023-10-26 09:05:59 +01:00