Hacker News new | ask | show | jobs
by kumar303 5096 days ago
I totally agree: the web does not have a decent abstract UI layer for devs to use. Help us build out Web Components! https://github.com/mozilla/x-tag
1 comments

This looks very interesting, but if I'm reading the w3c proposal correctly, I think the CSS/HTML divide still makes it extremely cumbersome; is there any way for an x-tag to accept an argument that modifies its drawing via CSS?

eg, this would be equivalent to:

  tableCell.textField.font = [UIFont ...]