Skip to content

Commit

Permalink
[DOCS] fix 7264 - improve mouseevent eventcatcher documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmario committed Jan 1, 2025
1 parent 54f0c4f commit 5f5c87c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20201123113532200
modified: 20221012194222875
modified: 20250101132354848
tags: Widgets TriggeringWidgets
title: EventCatcherWidget
type: text/vnd.tiddlywiki
Expand Down Expand Up @@ -44,8 +44,8 @@ The following variables are made available to the actions:
|!Variables |!Description |
|`dom-*` |All DOM attributes of the node matching the given selector are made available as variables, with the prefix `dom-` |
|`modifier` |The [[modifier Variable]] contains the Modifier Key held during the event (can be "normal", "ctrl", "shift", "alt" or combinations thereof) |
|`event-mousebutton` |The mouse button (if any) used to trigger the event (can be "left", "right" or "middle"). Note that not all event types support the mousebutton property |
|`event-type` |The type property of the JavaScript event |
|`event-mousebutton` |The mouse button (if any) used to trigger the event (can be "left", "right" or "middle"). Note that not all event types support the mousebutton property. <<.infoBox """This property only guarantees to indicate which buttons are pressed during events caused by pressing or releasing one or multiple buttons. As such, it is not reliable for events such as mouseenter, mouseleave, mouseover, mouseout, or mousemove. More details at: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button""">> |
|`event-type` |The type property of the JavaScript event. |
|`event-detail-*` |Any properties in the detail attribute of the event are made available with the prefix `event-detail-` |
|`tv-popup-coords` |A relative co-ordinate string that can be used with the ActionPopupWidget to trigger a popup at the DOM node matching the selector where the event originated (see [[Coordinate Systems]] for more information) |
|`tv-popup-abs-coords` |<<.from-version "5.2.4">> An absolute co-ordinate string that can be used with the ActionPopupWidget to trigger a popup at the DOM node matching the selector where the event originated (see [[Coordinate Systems]] for more information) |
Expand Down

0 comments on commit 5f5c87c

Please sign in to comment.