web
web copied to clipboard
Lightweight browser API bindings built around JS static interop.
See https://github.com/mdn/content/blob/main/files/en-us/web/api/selection/setbaseandextent/index.md?plain=1 ``` ... The anchor and focus nodes can be located in a {{glossary("shadow tree")}}, if supported by the browser. ... ``` We should either emit a correct reference,...
For example `createBuffer()`: https://github.com/dart-lang/web/blob/8478cd27d574249eca3d41f9135458dfda2762c8/web/lib/src/dom/webgl1.dart#L1098 vs IDL https://github.com/w3c/webref/blob/15065116311262f763dc57d5bd0b2f1f5356fc20/ed/idl/webgl1.idl#L564 and specification: https://registry.khronos.org/webgl/specs/latest/1.0/#5.14.5 Only `createShader()` should return a nullable object.
https://github.com/dart-lang/web/blob/6538aca01c8b3edb00e085d7e349e61f04a746a0/web/lib/src/dom/html.dart#L1281 CC @srujzs
https://github.com/dart-lang/ecosystem/tree/main/pkgs/firehose#health Since the surface area of `package:web` is quite large, breaking changes may not always be visible, and updating the version number may be missed. We should add a job...
I believe `_target` can be `null` here.
I am trying to update my app from dart:html to package:web I had this function: ``` Future downloadData(Uint8List data, {required String filename}) async { final blob = html.Blob([data], 'text/plain', 'native');...
In JS we can do: ```js containerForValues.replaceChildren(...values.map((value) => { const element = document.createElement('div'); element.innerHTML = value; return element; })); ``` In Dart we I tried using: ```dart containerForValues.replaceChildren( values .map(...