buttons to codes in javascript, translating button clicks into codes
I'm thinking of developing an application, well for learning purposes.
Let's say I have this graphical user interface, with 2 buttons, one is
labeled with if and one is labeled with else
If I click on the if button, my editor will generate an
if(param) {
// some things
}
block automatically.
Are there javascript libraries which already try to do this, more like a
click programming.
The possible solutions could be attached a data- attribute to those
buttons and use them to generate solutions.
What libraries could possibly do this efficiently?
No comments:
Post a Comment