You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dom/v2 API tried to stay as close as possible to its original API,
but reimplemented on top of syscall/js API for increased compatibility.
This happened 4 years ago (see PR #69).
The "Alpha, more API changes may be done soon" stage was meant give us
room to make significant changes in case we needed to. Given how much
time has passed and it's been working okay, we're way past that stage
and at a point where significant breaking API changes would not happen
in v2. Update the README to say that now, even if it's way overdue.
Also update documentation links while here.
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ Package dom provides Go bindings for the JavaScript DOM APIs.
4
4
5
5
## Version 2
6
6
7
-
**API Status:**Alpha, more API changes may be done soon
7
+
**API Status:**Stable, changes only due to DOM being a moving target
8
8
9
-
Version 2 of package dom is implemented on top of the [`syscall/js`](https://godoc.org/syscall/js) API and supports both Go WebAssembly and GopherJS.
9
+
Version 2 of package dom is implemented on top of the [`syscall/js`](https://go.dev/pkg/syscall/js) API and supports both Go WebAssembly and GopherJS.
10
10
11
11
It provides an API that is as close as possible to v1, with the following neccessary changes:
12
12
@@ -20,18 +20,18 @@ It provides an API that is as close as possible to v1, with the following necces
20
20
21
21
### Documentation
22
22
23
-
For documentation, see https://godoc.org/honnef.co/go/js/dom/v2.
23
+
For documentation, see https://pkg.go.dev/honnef.co/go/js/dom/v2.
24
24
25
25
## Version 1
26
26
27
27
**API Status:** Stable, changes only due to DOM being a moving target
28
28
29
-
Version 1 of package dom is implemented on top of the [`github.com/gopherjs/gopherjs/js`](https://godoc.org/github.com/gopherjs/gopherjs/js) API and supports GopherJS only.
29
+
Version 1 of package dom is implemented on top of the [`github.com/gopherjs/gopherjs/js`](https://pkg.go.dev/github.com/gopherjs/gopherjs/js) API and supports GopherJS only.
30
30
31
31
### Install
32
32
33
33
go get honnef.co/go/js/dom
34
34
35
35
### Documentation
36
36
37
-
For documentation, see https://godoc.org/honnef.co/go/js/dom.
37
+
For documentation, see https://pkg.go.dev/honnef.co/go/js/dom.
0 commit comments