mike-north/ember-cli-materialize

Add key-down and key-press to textarea

Open

#225 opened on Aug 27, 2015

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (305 stars) (117 forks)batch import
enhancementhelp wanted

Description

Ember's textarea allows a key-down (or key-press) action to be passed to it like so:

{{textarea value=petDescription key-down="petDescriptionKeyed"}}

Could this be added to {{md-textarea}}?

This may also apply to a standard input field but haven't had to use it yet.

Again happy to do a PR but with this one I'm unsure how best to implement it having had a play around and failed.

Contributor guide