Controls
DotVVM also adds the concept of controls, reusable components that can be added anywhere in the view. You can easily recognize them by the <dot:
prefix.
<dot:TextBox Text="{value: Difference}" />
The TextBox
control is essentially an <input type="text">
element that supports binding expressions.
Tasks
- Add a
<dot:TextBox>
to the<body>
element. - Use a value binding to bind the
Difference
property to theText
attribute of theTextBox
.
Message | Line | Column | |
---|---|---|---|