重庆熊猫 Loading

Blazor笔记-Component Data Binding

更新记录

注意:非教程。纯笔记,日常查询用的。需要教程的小伙伴找几本书看看即可哈哈,有Vue基础的话非常快,概念都是通的。非工作需要不建议深入学习Blazor,深入Vue吧,用的多,哈哈。

完整目录地址:https://www.cnblogs.com/cqpanda/p/17596348.html

点击查看
2024年3月7日 发布。
2023年8月1日 迁移笔记到博客。

Component Data Binding

In Blazor, there are two different ways that we can bind values to components, as follows:
• One-way binding
• Two-way binding

One-way binding

use razor syntax

@xxxx

Two-way binding

@bind="xxx"
@bind-{ATTRIBUTE}="xxx"
@bind-{ATTRIBUTE}:event="xxx"
posted @ 2024-03-07 15:32  重庆熊猫  阅读(5)  评论(0编辑  收藏  举报