4 ms·
Legit question: what about a tree view do you not think is possible with HTML/CSS/JS?
by potch 13y ago
Legit question: what about a tree view do you not think is possible with HTML/CSS/JS?
- chrismorgan 13y agoNative look and feel.
- cdata 13y agoIt's interesting how the traditional definition of 'native look and feel' is starting to seem passé. Most of the computers I have sitting around the house today do not utilize a tree view in any default 'app'. There are no interface components on my tablet (that I can think of) that can't be recreated with some combination of HTML, CSS and JavaScript in a modern browser.
- potch 13y agoThat's fair, but other than that, I'm curious what there is. CSS is still bad at grids without pretending they're tables, but Flexbox has solved most of the other limitations.
- WayneDB 13y agoKeyboard acceleration. I have never seen an HTML control kit that handles the Tab or Arrow keys correctly or even very well. No standards. For example - Drag and Drop. There is no standard system for Drag and Drop between components in the browser because it doesn't know about these controls, it only knows div div div div div. So, in general - it's just harder to write good code that targets HTML components because there are no standards for complex components. (Some more patterns with no standards for complex components: Data Binding, Encapsulation (grouping one or more component into a parent component and walking parent/child components), Inheritance.) And then, there's performance. Native trumps HTML here, no contest.