1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 09:36:18 +00:00

Clarify docs

This commit is contained in:
Jeremy Ruston 2023-11-13 09:16:28 +00:00
parent a1bffa7e36
commit a5d5926534

View File

@ -415,8 +415,8 @@ Widget.prototype.getAttribute = function(name,defaultText) {
/*
Assign the common attributes of the widget to a domNode
options include:
sourcePrefix: prefix of attributes that are to be directly assigned (defaults to the emtpy string)
destPrefix: prefix to be applied to attribute names that are to be directly assigned (defaults to the emtpy string)
sourcePrefix: prefix of attributes that are to be directly assigned (defaults to the emtpy string meaning all attributes)
destPrefix: prefix to be applied to attribute names that are to be directly assigned (defaults to the emtpy string which means no prefix is added)
changedAttributes: hashmap by attribute name of attributes to process (if missing, process all attributes)
excludeEventAttributes: ignores attributes whose name would begin with "on"
*/