@@ -101,13 +101,13 @@ fn app() -> Element {
101
101
div { class: "col-md-6" ,
102
102
div { class: "row" ,
103
103
ActionButton { name: "Create 1,000 rows" , id: "run" ,
104
- onclick: move |_| labels_container. write( ) . overwrite( 1_000 ) ,
104
+ onclick: move |_| labels_container. write( ) . overwrite( 1_000 ) ,
105
105
}
106
106
ActionButton { name: "Create 10,000 rows" , id: "runlots" ,
107
- onclick: move |_| labels_container. write( ) . overwrite( 10_000 ) ,
107
+ onclick: move |_| labels_container. write( ) . overwrite( 10_000 ) ,
108
108
}
109
109
ActionButton { name: "Append 1,000 rows" , id: "add" ,
110
- onclick: move |_| labels_container. write( ) . append( 1_000 ) ,
110
+ onclick: move |_| labels_container. write( ) . append( 1_000 ) ,
111
111
}
112
112
ActionButton { name: "Update every 10th row" , id: "update" ,
113
113
onclick: move |_| {
@@ -118,7 +118,7 @@ fn app() -> Element {
118
118
} ,
119
119
}
120
120
ActionButton { name: "Clear" , id: "clear" ,
121
- onclick: move |_| labels_container. write( ) . overwrite( 0 ) ,
121
+ onclick: move |_| labels_container. write( ) . overwrite( 0 ) ,
122
122
}
123
123
ActionButton { name: "Swap rows" , id: "swaprows" ,
124
124
onclick: move |_| labels_container. write( ) . swap( 1 , 998 ) ,
0 commit comments