Current section

17 Versions

Jump to

Compare versions

3 files changed
+13 additions
-8 deletions
  @@ -1,6 +1,6 @@
1 1 name = "redraw_dom"
2 2 target = "javascript"
3 - version = "19.0.6"
3 + version = "19.1.0"
4 4
5 5 description = "Redraw DOM renderer. Take a look at Redraw to use it."
6 6 licences = ["MIT"]
  @@ -1,6 +1,6 @@
1 1 {<<"name">>, <<"redraw_dom">>}.
2 2 {<<"app">>, <<"redraw_dom">>}.
3 - {<<"version">>, <<"19.0.6">>}.
3 + {<<"version">>, <<"19.1.0">>}.
4 4 {<<"description">>, <<"Redraw DOM renderer. Take a look at Redraw to use it."/utf8>>}.
5 5 {<<"licenses">>, [<<"MIT">>]}.
6 6 {<<"build_tools">>, [<<"gleam">>]}.
  @@ -9,20 +9,20 @@
9 9 {<<"Repository">>, <<"https://github.com/ghivert/redraw">>}
10 10 ]}.
11 11 {<<"requirements">>, [
12 - {<<"gleam_stdlib">>, [
13 - {<<"app">>, <<"gleam_stdlib">>},
12 + {<<"gleam_fetch">>, [
13 + {<<"app">>, <<"gleam_fetch">>},
14 14 {<<"optional">>, false},
15 - {<<"requirement">>, <<">= 0.51.0 and < 2.0.0">>}
15 + {<<"requirement">>, <<">= 1.3.0 and < 2.0.0">>}
16 16 ]},
17 17 {<<"redraw">>, [
18 18 {<<"app">>, <<"redraw">>},
19 19 {<<"optional">>, false},
20 20 {<<"requirement">>, <<">= 19.0.0 and < 20.0.0">>}
21 21 ]},
22 - {<<"gleam_fetch">>, [
23 - {<<"app">>, <<"gleam_fetch">>},
22 + {<<"gleam_stdlib">>, [
23 + {<<"app">>, <<"gleam_stdlib">>},
24 24 {<<"optional">>, false},
25 - {<<"requirement">>, <<">= 1.3.0 and < 2.0.0">>}
25 + {<<"requirement">>, <<">= 0.51.0 and < 2.0.0">>}
26 26 ]}
27 27 ]}.
28 28 {<<"files">>, [
  @@ -617,6 +617,11 @@ pub fn nonce(nonce: String) -> Attribute {
617 617 attribute("nonce", nonce)
618 618 }
619 619
620 + /// [Documentation](https://react.dev/learn/rendering-lists)
621 + pub fn key(key: String) -> Attribute {
622 + attribute("key", key)
623 + }
624 +
620 625 /// `none` will not appear in HTML attributes. Use it for conditional rendering.
621 626 pub fn none() -> Attribute {
622 627 attribute("none_", Nil)