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 a4e2d22 commit a36d368Copy full SHA for a36d368
tutorials/Web/Getting_Started/README.md
@@ -96,18 +96,18 @@ fun main() {
96
renderComposable(rootElementId = "root") {
97
Div(style = { padding(25.px) }) {
98
Button(attrs = {
99
- onClick { count = count - 1 }
+ onClick { count -= 1 }
100
}) {
101
Text("-")
102
}
103
104
Span(style = { padding(15.px) }) {
105
- Text("${count}")
+ Text("$count")
106
107
108
109
110
- onClick { count = count + 1 }
+ onClick { count += 1 }
111
112
Text("+")
113
0 commit comments