X Tutup
The Wayback Machine - https://web.archive.org/web/20210610024954/https://github.com/angular/angular/issues/40553
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

Support custom events and event plugins in Angular Language Service #40553

Open
waterplea opened this issue Jan 25, 2021 · 2 comments
Open

Support custom events and event plugins in Angular Language Service #40553

waterplea opened this issue Jan 25, 2021 · 2 comments

Comments

@waterplea
Copy link
Contributor

@waterplea waterplea commented Jan 25, 2021

🚀 feature request

Relevant Package

This feature request is for @angular/language-service

Description

Angular supports extending event management with plugins. I have this library that adds ".stop", ".prevent" and other modifiers to events, similar to built-in keydown event plugin:

https://github.com/TinkoffCreditSystems/ng-event-plugins
However Angular Language Service does not understand those and does not understand types. I believe it's also an issue with native CustomEvents which you can also subscribe to using (event) syntax.

Describe the solution you'd like

Some way to define additional plugin/event syntaxes that app uses with types. Or just ignore modifiers to assume the extend logic and not alter it.
@pumano
Copy link

@pumano pumano commented Jan 25, 2021

Would be good to have .stop .prevent out of the box for angular. vue.js have similar syntax out of the box.

@angular-robot
Copy link

@angular-robot angular-robot bot commented Jun 4, 2021

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
X Tutup