diff --git a/site/content/tutorial/06-bindings/14-component-this/text.md b/site/content/tutorial/06-bindings/14-component-this/text.md index 00af193604..a270c79006 100644 --- a/site/content/tutorial/06-bindings/14-component-this/text.md +++ b/site/content/tutorial/06-bindings/14-component-this/text.md @@ -5,6 +5,10 @@ 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 `` to a prop named `field` in the same way we did when binding DOM Elements ```html + + ``` @@ -16,4 +20,4 @@ Now we can programmatically interact with this component using `field`. ``` -> Note that we can't do `{field.focus}` since field is undefined when the button is first rendered and throws an error. \ No newline at end of file +> Note that we can't do `{field.focus}` since field is undefined when the button is first rendered and throws an error.