Direct JavaScript

From old feedback: Direct JavaScript | Cwicly

To begin with I think having a way to directly input JavaScript would be great. A good place to start could be the interactions panel. The inputs would be the inner body of an automatically generated function wrapper.

Attached, you find: a mockup tweaked from the interactions panel. The idea is based on a software package I like to use, showing a dropdown to chose previous functions or create a new one. Obviously, tbd. but I hope the idea gets across.

Attached images

2 Likes

I upvote.
And if possible add the option “Run PHP” as well.

As the JavaScript option is already in Cwicly, think about adding the event to the signature as well. It would be the regular DOM event passed on to the function. It would be optional to use, but contains a lot of useful information!