elemental2 icon indicating copy to clipboard operation
elemental2 copied to clipboard

Type checked access to browser APIs for Java code.

Results 23 elemental2 issues
Sort by recently updated
recently updated
newest added

I am trying to add webcrypto support but I cannot get the project to build with bazel - will raise another issue. I have attached the patch that (I think)...

Discovered via https://stackoverflow.com/questions/57244451/bug-jsnumber-tofixed-returns-different-values-in-superdev-and-js When calling JsNumber.toFixed with an `int` value (as would seem to be the sanest option), the `int` is boxed to `Integer`, which isn't treated as a number...

Hi I tried using elemental2 with j2cl. My BUILD file contains this config : ``` load("@com_google_j2cl//build_defs:rules.bzl", "j2cl_library") j2cl_library( name = "javafrontendlib", srcs = glob([ "*.java", "*.js", ]), deps = [...

Currently `Element.prototype.scrollIntoViewIfNeeded` is defined in `webkit_dom.js`. It is not standardized but will soon be available in most evergreen browsers except Firefox. Although @jDramaix indicates that Firefox may catch up soon...

`contrib` directory could contain projects following the same structure than elemental2 but created by open source contributors and not officially supported by the Google J2CL team.

Some javascript methods like [Array.prototype.shift](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/shift#Description) are generics. It means they can be called or applied to objects resembling to the type defining the method. In Closure-compiler, the @this annotations in...

enhancement

From what I can tell in the `integer_entities.txt` update, the build now can generate int or Integer in some cases instead of Double. This doesn't seem to have been applied...

Would it be possible to add setter methods to the CSS style properties that are represented by a Union type? For example, to set the padding property you can't do...

Can't find `DOMParser` from the current elemental2 library. https://developer.mozilla.org/en-US/docs/Web/API/DOMParser Shall we support it as well?

Hi, I was just wondering why properties such as Width use types such as WidthUnionType which allows setting a double or String, however, Left does not have a similar type...