Commit graph

45 commits

Author SHA1 Message Date
David Botton
4c195beccc Add pre-eval to set-event 2024-01-23 15:44:18 -05:00
David Botton
dab3046544 Fix touch events to work properly on mobile and desktop and redo tutorial 8 2024-01-22 00:30:33 -05:00
Mariano Montone
0bff2c750b Pass cancel-event in set-on-click 2023-02-07 15:03:21 -03:00
Mariano Montone
68b57ef05e cancel-event argument in mouse-click and double-click 2023-01-20 18:51:06 -03:00
David Botton
74be9b9911 Expanded implementation of 2d canvas 2022-08-21 15:56:47 -04:00
Shaka Chen
f161d193c1 appending newlines for some logging code 2022-08-01 12:22:27 +08:00
David Botton
25a9462f1f update documentation, remove tabs 2022-07-18 22:26:37 -04:00
David Botton
f9143f9111 on-input added, on-create/setup before other events 2022-07-17 16:11:24 -04:00
David Botton
02e4ed8fc1 remove all defsetf 2022-07-11 15:53:25 -04:00
David Botton
075c975b51 warn on setting an event on invalid connection 2022-07-06 16:28:29 -04:00
David Botton
b87e63d8e0 style option added 2022-06-27 15:22:25 -04:00
Sajjad Heydari
e202696461
Fixed typo in generic documentation. 2022-06-24 22:37:06 -05:00
David Botton
465a6efba4 code formatting 2022-06-22 18:54:32 -04:00
David Botton
bd89502ad1 deal connection items not available do to shut down of window 2022-06-22 00:40:41 -04:00
David Botton
13a09b2101 Allow callbacks from javascript to clog using set-on-event or sent-on-event-data and on the js side using jQuery .trigger 2022-06-10 17:30:36 -04:00
David Botton
ce339a4f56 remove tabs and trailing white spaces 2022-06-09 19:17:58 -04:00
David Botton
617c86c71b Prevent crashes from setting connection data items on a closed connection 2022-05-23 13:32:55 -04:00
David Botton
28e9b45059 Added with-connection-cache for minimizing wire traffic on large setups of pages. 2022-04-01 17:37:45 -04:00
David Botton
e9772838aa expose internals for extension and plug-in use 2022-02-17 12:10:27 -05:00
David Botton
9d37229175 added clog-jquery 2022-02-16 21:35:18 -05:00
David Botton
18a5f8d78e Updates to tuts and new with-sync-event 2022-02-10 20:44:11 -05:00
David Botton
9ca0699dee add connection-body 2022-02-08 17:59:29 -05:00
David Botton
e78864a6af Update some (c) info 2022-01-26 15:42:14 -05:00
David Botton
972d14cd9b Add all basic events 2022-01-25 22:46:17 -05:00
David Botton
c993bb70de Shift drag to make control child to drop target 2022-01-16 12:02:40 -05:00
David Botton
22e54a8eca Fix drop regression 2022-01-11 18:58:11 -05:00
David Botton
c72ce04983 Add no bubble on mouse click option 2022-01-07 16:53:23 -05:00
David Botton
8e2c48d4b4 Add :clog to *features* 2021-12-31 16:59:32 -05:00
David Botton
a8d6c7c162 defsetf functions now return value 2021-12-10 09:34:54 -05:00
David Botton
63d7efd042 Adjust for scrolling on x and y automatically 2021-12-02 16:02:57 -05:00
David Botton
5fb7445ed1 switch to use currentTarget for events in determining local x and y 2021-12-02 14:35:39 -05:00
David Botton
fc7057fb4b Refinements on mouse events and scroll bars 2021-12-02 13:57:00 -05:00
David Botton
a35c424c5b Revert "Switch to user clientX and clientY for x and y in mouse/touch events"
This reverts commit c9b6684bfc.
2021-12-01 21:44:29 -05:00
David Botton
c9b6684bfc Switch to user clientX and clientY for x and y in mouse/touch events 2021-12-01 21:22:30 -05:00
David Botton
8eb1bd753e Remove use of package local nicknames 2021-11-05 13:25:42 -04:00
David Botton
0c5408f281 Updates to source documenation 2021-11-04 20:08:28 -04:00
David Botton
705f9ca47a revert as funcall handles symbols and function symbols 2021-03-19 14:36:24 -04:00
mavis-risetti
e19d87c510 event-handlers pass-by-reference
Adding the option to pass functions by reference
2021-03-19 23:16:08 +05:30
David Botton
510bef7719 disable-default added for key-pressed, key-down and on-character 2021-03-09 13:03:35 -05:00
mavis
a28a244065
Removing a print statement
There's a `(print data)` statement left in `parse-keyboard-event` (used for debugging, I think)
2021-03-07 19:55:13 +05:30
David Botton
3f695ef471 Document :key 2021-03-06 22:33:55 -05:00
David Botton
8659b31f71 added :key 2021-03-05 16:42:02 -05:00
mavis
6b6b9a487b add :key attribute to keyboard event data
Adding :key attribute makes it easy to handle keypresses.
That's because we don't need to do any conversions using code-char.
2021-03-05 14:54:50 +05:30
David Botton
3465668b99 default 'clog-body' key in connection-data 2021-02-17 15:17:45 -05:00
David Botton
b19f78d926 Restructure project 2021-02-17 13:46:47 -05:00
Renamed from clog-base.lisp (Browse further)