Update text.md

pull/6815/head
Tan Li Hau 5 years ago committed by GitHub
parent 84f8a760c2
commit 6c327253f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
title: Binding to component instances title: Binding to component instances
--- ---
Just as you can bind to DOM elements, you can bind to component instances themselves. For example, we can bind the instance of `<InputField>` to a prop named `field` in the same way we did when binding DOM Elements Just as you can bind to DOM elements, you can bind to component instances themselves. For example, we can bind the instance of `<InputField>` to a variable named `field` in the same way we did when binding DOM Elements
```html ```html
<script> <script>

Loading…
Cancel
Save