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

[DOC] Add action docs to input and textarea helpers #4755

Merged
merged 1 commit into from
Jul 21, 2014

Conversation

ppcano
Copy link
Contributor

@ppcano ppcano commented Apr 22, 2014

I could not find any doc to explain how input helpers can send actions. I am not sure it has been forgotten or it was intentionally done.

I think, there are still some steps to be completed:

  • Add documentation to TextSupport properties of events (focus-in, focus-out...) like action.
  • Add missing tests of the different actionable events.

@rwjblue
Copy link
Member

rwjblue commented Jul 13, 2014

The documentation looks good, can you rebase?

@rwjblue
Copy link
Member

rwjblue commented Jul 19, 2014

@ppcano - Can you rebase?

@ppcano
Copy link
Contributor Author

ppcano commented Jul 20, 2014

@rwjblue, rebased and added new TextSupport documentation and missing tests.

@type String
@default undefined
*/
enter: undefined,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs are parsed completely unrelated to the actual JS, please do not actually define the property here (so it just ends up being the documentation block here).

@ppcano
Copy link
Contributor Author

ppcano commented Jul 20, 2014

@rwjblue, the doc has been cleaned up based on your comments and all the commits merged into one.

rwjblue added a commit that referenced this pull request Jul 21, 2014
[DOC] Add action docs to input and textarea helpers
@rwjblue rwjblue merged commit 71b820b into emberjs:master Jul 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants