阅读(2167)
赞(7)
Svelte 复选框
2023-02-21 14:47:29 更新
我们不仅可以使用
input.value
,也可以将复选状态绑定input.checked
将复选框的状态绑定:
<input type=checkbox bind:checked={yes}>
input.value
,也可以将复选状态绑定input.checked
将复选框的状态绑定:
<input type=checkbox bind:checked={yes}>
Copyright©2023 编程论坛编程论坛| 浙ICP备2024059924号-1|
违法和不良信息举报电话:|举报邮箱:569242693@qq.com