web icon indicating copy to clipboard operation
web copied to clipboard

Lightweight browser API bindings built around JS static interop.

Results 67 web issues
Sort by recently updated
recently updated
newest added

I'm currently looking into migrating a package to the new `package:web` interop. For my use-case I need to use `MediaDevices.getUserMedia(constraints)`. I can create a `MediaStreamConstraints` with booleans for `video` and...

Any chance of making `NodeList` mix-in `Iterable`? Something like: ```dart @JS() @staticInterop class IterableNodeList extends html.NodeList with Iterable { @override Iterator get iterator => _NodeListIterator(this); } class _NodeListIterator implements Iterator...

Given a web component like shown below ```js /** * my-project/my-element.js */ export class MyElement extends HTMLElement { static get observedAttributes() { return ['disabled']; } set disabled(val) { this.__disabled =...

We have a small set today, but it would be nice to have more helpers like `html.window.onClick` so you don't have to write `html.EventStreamProvider('click').forTarget(html.window)`.

Currently, there is no easy way to pass a `List/Uint8List` to the `Blob` constructor. We have to do stuff like: ``` final List bytes = ...; final Blob blob =...

It would be useful to expose all const properties from the IDL. For example, currently we are missing about ~300 GLenum values in `WebGLRenderingContext`, such as [`WebGLRenderingContext.DEPTH_BUFFER_BIT`][1] [1]: https://registry.khronos.org/webgl/specs/latest/1.0/#5.14.11

I was looking into `package:web` to reevaluate if it fixes an old bug related to fullscreen events that has been in `dart:html` for a little while. (it does fix it!)...

We currently have typedefs like: ``` typedef Float32List = JSAny? ``` WHen imported together with `dart:typed_data` this causes issues. One can hide it from the import, but potentially we may...

Any thoughts on generating an unimplemented version for VM?

We need to decide how to represent APIs that are not available on certain browsers: * Does package:web only support the latest IDL regardless of the browser? * Does package:web...