News for hackers. Stuff that matters.
Re:Designing better user interfaces by Scene_Cast on Friday February 17, 2012 @09:21AM (#3603356)
This got me thinking on the topic of custom UI elements. The problem with those elements is that the programmer ends up rewriting the component, hoping that every little detail matches. I'm not sure about JS, but in some other languages you can make a new element inherit from the UI element class, and then modify its graphics - which effectively solves this problem. With all its flaws, if I recall correctly Flash let you do this - is there a way to do the same thing with JS?
Re:Designing better user interfaces by pfraze on Friday February 17, 2012 @10:59AM (#3603746)
Good point, I don't think there is. I'd expect custom UI tools to be built around the canvas element someday; we might look forward to UI objects then.