Skip to content

Commit

Permalink
include pkg:web, move link
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryaBelanger committed Jan 22, 2025
1 parent 62f8d74 commit b17fba6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/content/libraries/dart-html.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ To use the HTML library in your web app, import dart:html:
import 'dart:html';
```

[`dart:js_interop`]: /interop/js-interop
[`package:web`]: {{site.pub-pkg}}/web
[Migrate to package:web]: /interop/js-interop/package-web

Expand Down Expand Up @@ -447,7 +448,6 @@ Dart has additional libraries for more specialized web APIs, such as
For more information about Dart web libraries, see the
[web library overview.][web library overview]

[`dart:js_interop`]: /interop/js-interop
[AnchorElement]: {{site.dart-api}}/dart-html/AnchorElement-class.html
[dart:html]: {{site.dart-api}}/dart-html/dart-html-library.html
[Fetch data from the internet]: /tutorials/server/fetch-data
Expand Down
2 changes: 1 addition & 1 deletion src/content/libraries/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ consult the [Dart API reference.][Dart API]

[dart:js_interop](/interop/js-interop)
: APIs for interop with the web platform.
`dart:js_interop` replaces `dart:html`.
Along with `package:web`,`dart:js_interop` replaces `dart:html`.


As mentioned, these pages are just an overview;
Expand Down

0 comments on commit b17fba6

Please sign in to comment.