Skip to content

Instantly share code, notes, and snippets.

@bmelton
Created April 9, 2012 02:18
Show Gist options
  • Save bmelton/2340873 to your computer and use it in GitHub Desktop.
Save bmelton/2340873 to your computer and use it in GitHub Desktop.
A Gentle Introduction to Ember - Adding a textbox - ChangeQuery method
Example.ChangeQuery = Ember.TextField.extend({
change: function() {
var value = this.get('value');
Example.set("searchString", value);
Example.populate.getTweets();
}
});
@bmelton
Copy link
Author

bmelton commented Apr 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment