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

+ [jsfm] supported inline event binding format #19

Merged
merged 1 commit into from
Apr 17, 2016
Merged

Conversation

Jinjiang
Copy link
Contributor

supported both old and new version bundle format for event binding:

{
  type: 'foo',
  events: {
    'click': 'methodA', // old version: onclick="methodA"
    'appear': function ($event) { // new version: onappear="methodA(x, 1, '2', $event)"
      this.methodA(this.x, 1, '2', $event)
    }
  }
}

@Jinjiang
Copy link
Contributor Author

@songsiqi please have a look

@terrykingcha terrykingcha merged commit ddb0b6b into jsfm Apr 17, 2016
@terrykingcha terrykingcha deleted the jsfm-evt-ext branch April 17, 2016 10:34
Jinjiang pushed a commit that referenced this pull request Apr 17, 2016
+ [jsfm] supported inline event binding format
Jinjiang pushed a commit that referenced this pull request Apr 20, 2016
+ [jsfm] supported inline event binding format
sospartan added a commit that referenced this pull request Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants