Using ParenScript with CLOG (intermediate) #167
rabbibotton
started this conversation in
General
Replies: 1 comment
-
You can now use the builder to add ParenScript to controls that is pre-compiled and available client side. See Tools->Control ParentScript Events |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Mixing Parenscript (https://parenscript.common-lisp.dev/) with clog is easy
Provided you have run (ql:quickload :parenscript) or is a depends-on in your asd file.
Drop a button in the builder and add an on-click event:
(js-execute target (ps:ps (alert (ps:chain ($ "[data-clog-name='button-1']") (text)))))
This would allow you to write lisp code (that is transpiled to javascript) that is ran client side.
Beta Was this translation helpful? Give feedback.
All reactions