We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6f4260 commit fa03889Copy full SHA for fa03889
README.md
@@ -10,11 +10,13 @@ Write HTML using Swift Macros.
10
let test:String = #html([
11
#body([
12
#div(
13
- class: ["dark-mode", "row"],
14
- draggable: .false,
15
- hidden: .true,
16
- inputmode: .email,
17
- title: "Hey, you're pretty cool",
+ attributes: [
+ .class(["dark-mode", "row"]),
+ .draggable(.false),
+ .hidden(.true),
+ .inputmode(.email),
18
+ .title("Hey, you're pretty cool")
19
+ ],
20
[
21
"Random text",
22
#div(),
0 commit comments