docs(toh/dart): a few small tweaks

closes #1080
This commit is contained in:
Kathy Walrath 2016-04-12 17:34:47 -07:00
parent b56a97485e
commit 1cdd1e681c
1 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ code-example(format="." language="bash").
All of our component names end in "Component". All of our component file names end in "_component".
We spell our file names in lower dash case (AKA "kebab-case") so we don't worry about
We spell our filenames in lower underscore case (AKA "snake_case") so we don't worry about
case sensitivity on the server or in source control.
<!-- TODO
@ -135,12 +135,12 @@ code-example(format=".").
*source* properties do not.
:marked
There are a couple of ways we can declare that `hero` is an *input*.
We'll do it the way we *prefer*, by annotating the `hero` property with the `@Input` decorator.
We'll do it the way we *prefer*, by annotating the `hero` property with `@Input()`.
+makeExample('toh-3/dart/lib/hero_detail_component.dart', 'inputs')(format=".")
.l-sub-section
:marked
Learn more about the `@Input()` annotation way in the
Learn more about `@Input()` in the
[Attribute Directives](../guide/attribute-directives.html#input) chapter.
.l-main-section