File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
pages/docs/manual/latest/api/dom Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ type t
12
12
external getItem: (string, t) => option<string> = "getItem"
13
13
```
14
14
15
+ ## setItem
16
+
17
+ ``` res sig
18
+ external setItem: (string, string, t) => unit = "setItem"
19
+ ```
20
+
15
21
## removeItem
16
22
17
23
``` res sig
Original file line number Diff line number Diff line change 2
2
3
3
<Intro >
4
4
5
+
5
6
The same as [ Dom.Storage] ( ./storage2 ) , but with ` t ` on first argument position for proper ` -> ` usage.
6
7
7
8
</Intro >
8
9
10
+
9
11
## t
10
12
11
13
``` res prelude sig
@@ -18,6 +20,12 @@ type t
18
20
external getItem: (t, string) => option<string> = "getItem"
19
21
```
20
22
23
+ ## setItem
24
+
25
+ ``` res sig
26
+ external setItem: (t, string, string) => unit = "setItem"
27
+ ```
28
+
21
29
## removeItem
22
30
23
31
``` res sig
You can’t perform that action at this time.
0 commit comments