You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/hydro/README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,4 +18,8 @@
18
18
19
19
*[Cookies](cookies)
20
20
21
-
This sample shows how to set and delete a cookie from a Hydro component.
21
+
This sample shows how to set and delete a cookie from a Hydro component.
22
+
23
+
*[Component-1](component-1)
24
+
25
+
This sample demonstrates how Hydro support nested components, how the data flow from parent to child, and how to communicate change from parent to child via **key** parameter.
This button below will change the `Model.Text` property of this component to current UTC time. Both components below receive the same `Model.Text` property.<br>
<p>This declaration of message component does not use <strong>key</strong> attribute. Without the key attribute, the modification of the parent property is not propagated to the child component.</p>
13
+
<messagetext="@Model.Text"></message>
14
+
</div>
15
+
</div>
16
+
</div>
17
+
<divclass="col-md-6">
18
+
<divclass="card">
19
+
<divclass="card-body">
20
+
<p>This declaration of message component does use <strong>key</strong> attribute</p>
0 commit comments