3 ms·
At first glance, this seems like it would be painful to write for. It doesn't seem like it really makes anything easier than HTML and vanilla JavaScript.
by jaywalk 6y ago
At first glance, this seems like it would be painful to write for. It doesn't seem like it really makes anything easier than HTML and vanilla JavaScript.
- jwilber 6y agoYeah, I’m not so sure about the use case myself... Input: UserInterface.model({ name: "children", method: UserInterface.appendChild, properties: { tagName: "div", className: "model", children: [ { tagName: "div", className: "child", textContent: "My first child" // and so on.. } ] } }); UserInterface.runModel("children", { parentNode: document.body }); Output: <body> <div class="model"> <div class="child">My first child</div> </div> </body>
- zeptonix 6y agoI think I'd have about three "UserInterface"'s in me before going crazy over why they didn't just name it "UI"
- thoughtsunifica 6y agoI think you have a great point, how about code snippets or renaming the global object in your index.html or application entry point? Thanks for looking at it, I appreciate.