elemental2
elemental2 copied to clipboard
Type checked access to browser APIs for Java code.
Hi all, Recently, i am using the elemental2-core for using js type of Int8Array, but got exception. if anyone can tell what i am wrong. thanks. **jdk is 1.8 and...
As developer I'd like to access navigator.clipboard, ClipboardItem class and related APIs via Elemental. The support in Closure looks pretty god: https://github.com/google/closure-compiler/blob/master/externs/browser/w3c_clipboard.js, hopefully it's enough to add this extern to...
hi.. according to cockpit promises, the catch portion may return an additional parameter https://cockpit-project.org/guide/latest/cockpit-spawn.html from what i understand you can't have more then one value on a callback in promise
Can you add an example on IndexedDB? e.g read/write/loop through keys
[google/closure-compiler/blob/master/externs/browser/gecko_dom.js](https://github.com/google/closure-compiler/blob/master/externs/browser/gecko_dom.js) contains standard api defintion that are missing in elemental2-dom. **Contribution is welcome here.** This can be fixed by - adding [google/closure-compiler/blob/master/externs/browser/gecko_dom.js](https://github.com/google/closure-compiler/blob/master/externs/browser/gecko_dom.js) to [elemental2-dom](https://github.com/google/elemental2/blob/master/java/elemental2/dom/BUILD#L103) - Follow the procedure explained in...
The follow code gives ClassCastException in Chrome(Version 83.0.4103.61 (Official Build) (64-bit)) and new Edge(Version 83.0.478.37 (Official build) (64-bit)) but not Edge Legacy ``` Java private void setupMutation(Node target) { Consumer...
I'm trying to access the document from a elemental2.dom.HTMLIFrameElement but noticed that elemental2.dom.Window (via HTMLIFrameElement.contentWindow) has no document variable. There is no chance to access an iframe document via elemental2....
The CanvasPattern created by a canvas' context should have one method to setTransform() per the spec. The method should take either a DOMMatrix or an SVGMatrix. https://html.spec.whatwg.org/multipage/canvas.html#dom-canvaspattern-settransform https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern/setTransform
Hey there, We have some interest in building a Chrome extension with the elemental2/J2CL stack. However, we can't yet use elemental2 to great effect because there isn't a `chrome` and/or...
Since upgrading to iOS 13.1.2, Mobile Safari seems to dislike my implementation of IndexedDB through Elemental2. I'm specifically getting the error of "AbortError: The operation was aborted" when attempting to...