| commit | d9024013867b72b7240f49a8d766f22511c4dfe8 | [log] [tgz] |
|---|---|---|
| author | Devon Carew <devoncarew@google.com> | Wed Nov 29 11:19:39 2023 -0800 |
| committer | GitHub <noreply@github.com> | Wed Nov 29 11:19:39 2023 -0800 |
| tree | 5e04f4b796cf1a411b2ed0181aecfcf2e2aec796 | |
| parent | e5be5b3b8af18cd39872b647049f631f3e7cafa5 [diff] |
update the readme (#110) * update the readme * Apply suggestions from code review Co-authored-by: Srujan Gaddam <58529443+srujzs@users.noreply.github.com> * Update README.md review feedback --------- Co-authored-by: Srujan Gaddam <58529443+srujzs@users.noreply.github.com>
Lightweight browser API bindings built around JS static interop.
This package exposes browser APIs. It's generated from the Web IDL definitions and uses recent Dart language features for zero-overhead bindings.
This package is intended to replace dart:html and similar Dart SDK libraries. It will support access to browser APIs from Dart code compiled to either JavaScript or WebAssembly.
The APIs in this package are still fairly provisional and could change rapidly. We'll continue to use semantic versioning as we evolve the APIs.
import 'package:web/web.dart'; void main() { final div = document.querySelector('div') as HTMLDivElement; div.textContent = 'Text set at ${DateTime.now()}'; }
Based on @webref/idl 3.39.1.