Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add code fences around ascii charts in text_support.js #10993

Merged
merged 1 commit into from
May 2, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/ember-views/lib/mixins/text_support.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import TargetActionSupport from "ember-runtime/mixins/target_action_support";
The following chart is a visual representation of what takes place when the
escape key is pressed in this scenario:

```
The Template
+---------------------------+
| |
Expand All @@ -66,6 +67,7 @@ import TargetActionSupport from "ember-runtime/mixins/target_action_support";
| } |
| |
+-------------------------------------------+
```

Here are the events that we currently support along with the name of the
attribute you would need to use on your field. To reiterate, you would use the
Expand All @@ -75,6 +77,7 @@ import TargetActionSupport from "ember-runtime/mixins/target_action_support";
{{input attribute-name='controllerAction'}}
```

```
+--------------------+----------------+
| | |
| event | attribute name |
Expand All @@ -95,6 +98,7 @@ import TargetActionSupport from "ember-runtime/mixins/target_action_support";
| | |
| keydown | key-down |
+--------------------+----------------+
```

@class TextSupport
@namespace Ember
Expand Down