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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,16 @@ Notable changes to this project are documented in this file. The format is based
5
5
## [Unreleased]
6
6
7
7
Breaking changes:
8
+
- The `id` function returns an `ElementId` instead of a `String`. (#58 by @nsaunders)
9
+
- The `setId` function is parameterized by `ElementId` instead of `String`. (#58 by @nsaunders)
10
+
- The `getElementById` function is parameterized by `ElementId` instead of `String`. (#58 by @nsaunders)
11
+
- The `className` function returns a `ClassName` instead of a `String`. (#58 by @nsaunders)
12
+
- The `setClassName` and `getElementsByClassName` functions are parameterized by `ClassName` instead of `String`. (#58 by @nsaunders)
13
+
- The `getAttribute`, `setAttribute`, `hasAttribute`, and `removeAttribute` functions are parameterized by `AttrName` instead of `String`. (#58 by @nsaunders)
8
14
9
15
New features:
16
+
-`AttrName`, `ClassName`, and `PropName` types have been added, migrated from [web-html](https://github.com/purescript-web/purescript-web-html). (#58 by @nsaunders)
17
+
- A new `ElementId` type, representing the value of an `id` property/attribute, has been added. (#58 by @nsaunders)
0 commit comments