use a meaning variable name

pull/5700/head
AngangGuo 5 years ago committed by GitHub
parent 1fa46fde4f
commit c30c97d970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,5 +5,5 @@ title: Checkbox inputs
Checkboxes are used for toggling between states. Instead of binding to `input.value`, we bind to `input.checked`:
```html
<input type=checkbox bind:checked={yes}>
```
<input type=checkbox bind:checked={subscribed}>
```

Loading…
Cancel
Save