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

FR: input-event-group #556

Closed
AvshT opened this issue Jun 24, 2021 · 1 comment
Closed

FR: input-event-group #556

AvshT opened this issue Jun 24, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@AvshT
Copy link

AvshT commented Jun 24, 2021

In order to keep the template code effective and readable, I'm suggesting this rule, that will warn if there is misordering between input and events in the html template:

<some-componenet (someEvent2)="aaaEvent2()" [someInput1]="aaa" (someEvent1)="aaaEvent1()" [someInput2]="bbb" >
will rise the warning - "inputs & events should be grouped"
<some-componenet [someInput1]="aaa" [someInput2]="bbb" (someEvent2)="aaaEvent2()" (someEvent1)="aaaEvent1()" >

@rafaelss95
Copy link
Member

Hey @AvshT, I guess this is the same thing requested in #127, so I'm closing this. Feel free to comment if not.

@rafaelss95 rafaelss95 added the duplicate This issue or pull request already exists label Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants