Skip to content

Commit

Permalink
docs(ref): fix ref docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdanyow committed Nov 20, 2015
1 parent a9ee1e6 commit 5f3703d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/article/en-US/cheat-sheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,11 @@

Creates a reference to an HTML element, a component or a component's parts.

* `ref="someIdentifier"` or `element.ref="someIdentifier"` - Create a reference to the HTMLElement in the DOM.
* `attribute-name.ref="someIdentifier"`- Create a reference to a custom attribute's view-model.
* `element-name.ref="someIdentifier"`- Create a reference to a custom element's view-model.
* `ref="someIdentifier"` - Create a reference to the HTMLElement in the DOM.
* `view-model.ref="someIdentifier"`- Create a reference to a custom element's view-model.
* `view.ref="someIdentifier"`- Create a reference to a custom element's view instance (not an HTML Element).
* `controller.ref="someIdentifier"`- Create a reference to a custom element's controller instance.
</narrative>

<example title="Ref Example">
Expand Down

0 comments on commit 5f3703d

Please sign in to comment.