mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +00:00
c9b8319801
* pass the modifier keys as variables * Update DroppableWidget.tid * Create modifier Variable.tid * closing bracket got lost
15 lines
504 B
Plaintext
15 lines
504 B
Plaintext
tags: Variables [[Core Variables]]
|
|
title: modifier Variable
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Within the ''action'' string of the DroppableWidget, the <<.def modifier>> [[variable|Variables]] contains the modifier key(s) held during the drag-process.
|
|
The possible keys are ''ctrl'', ''shift'' or both ''ctrl'' and ''shift''
|
|
|
|
The variable contains a string that identifies the keys:
|
|
|
|
|Modifier Key |Variable Content |h
|
|
|ctrl |ctrl |
|
|
|shift |shift |
|
|
|ctrl+shift |ctrl-shift |
|
|
|no modifier (normal drag) |normal |
|