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

feat: add shorthand method attributes #86

Merged
merged 1 commit into from
Jul 15, 2021
Merged

Conversation

mlrawlings
Copy link
Member

@mlrawlings mlrawlings commented Jul 15, 2021

Adds support for parsing shorthand methods as attributes:

<foo onclick(event) { 
  console.log("hello"); 
  event.preventDefault();
}/>

<foo(event) { 
  console.log("hello"); 
  event.preventDefault();
}/>

@mlrawlings mlrawlings merged commit a5024c6 into master Jul 15, 2021
@github-actions
Copy link
Contributor

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@DylanPiercey DylanPiercey deleted the method-shorthands branch March 21, 2022 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant