rabbibotton / clog

CLOG - The Common Lisp Omnificent GUI
Other
1.48k stars 101 forks source link

Access event properties? #257

Closed mmontone closed 1 year ago

mmontone commented 1 year ago

Hello,

is it possible to access a javascript event properties from CLOG set-event family functions? In particular, I'm looking for a way of determining if the user holds control or shift keys at the moment of mouse click. https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/ctrlKey

Thanks

mmontone commented 1 year ago

Oh. Now I see there's set-on-mouse-click that parses event data :eyes:

mmontone commented 1 year ago

set-on-mouse-click gives me the event properties. Closing this.