-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing whole Custom Elements API #351
Comments
In general, we accept PRs for APIs that are specified in the DOM standard, unless there is some evidence that it won't be implemented in all browsers. If it's not yet implemented in all browsers, but it's standardized, that's fine. |
That would usually live in the |
I leave it 4 now. Scalajs 0.6 does not compile ES2015 with Google Closure Compiler. It means we are not ready to write WebComponents using 0.6 tree yet. It could be useful for scalajs 1.0 (where fullOpt'll produce minified version) but not there yet. I have some code of it in my internal project but it needs to be polished I'll continue my experiments with WebComponents when 1.0 version will be in RC state. Hopefully browser support'll increase up to then. |
@sjrd I have been on a rather long hiatus from Scala so my information is embarrassingly out of date, sorry! :) The issue with providing WebComponents 1.0 here is that it will require ES6 class syntax to even function, since it requires extending |
Scala.js 0.6.x has provided an option to emit ECMAScript 2015 (ES 6) for years:
Scala.js 1.0.0-M7 and above emit ECMAScript 2015 by default, and the same option with |
@scalway at a quick glance it seems some of these APIs are more widely supported now, if you're still up for it we can consider a PR for the |
Marking as duplicate of #191. |
missing classes in
org.scalajs.dom.raw:
in Element:
in Window:
new interface that HTMLElement should extends
caniuse of ShadowDom
Should I send PR or we are not interested this API until it is covered by all browsers?
The text was updated successfully, but these errors were encountered: