Skip to content

Instantly share code, notes, and snippets.

@cj3kim
Created May 26, 2015 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cj3kim/df0bdbaf8fc83b861e19 to your computer and use it in GitHub Desktop.
Save cj3kim/df0bdbaf8fc83b861e19 to your computer and use it in GitHub Desktop.
react famous method
var _this = this;
var attributes;
this._eventInput.on('reset-ad-details', function (model) {
attributes = model.attributes;
attributes.setClass = true;
_this.surface.setContent(<AdDetailsComponent { ...attributes } />);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment