question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

event binding and property binding user experience

See original GitHub issue

Describe the bug

Related to https://github.com/angular/vscode-ng-language-service/issues/474

The developing experience for event binding and property binding user experience is changed in this new version 0.900.3.

To Reproduce

Steps to reproduce the behavior:

  1. find a tag
  2. add a (click)="" event binding or [accessKey]="" property binding

Expected behavior

When you type (cli then hit Tab should appear (click)="<CURSOR_HERE>".

Logs N/A Screenshots

0.900.3 Video https://youtu.be/JB23F7vflL8

0.802.3 Video https://youtu.be/i1XoRvyibjo

The original (0.802.3) DX is a bit nicer. Please change it back to the original behavior.

Additional context

Hope to get the same or better developer experience (DX) of the code snippet feature.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ivanwondercommented, Sep 23, 2021

I think we can pick the PR #820 up, move the code into @angular/language-service, and this feature can be opt-out via the config includeCompletionsWithSnippetText. @atscott

2reactions
doggy8088commented, Jul 25, 2021

@kyliau The event binding is broken again in v12.0.0. There is no IntelliSense at Angular v12.0.0 version in the Visual Studio Code. image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Property & Event Binding • Angular - codecraft.tv
The way to think about these two different ways of binding is in terms of inputs and outputs. With the [] we are...
Read more >
Property binding - Angular
Property binding moves a value in one direction, from a component's property into a target element property. For more information on listening for...
Read more >
what is the difference between event binding and property ...
(input)=”expression” - Is a declarative way of binding an expression to the input element's input event (yes there's such event). username = $event....
Read more >
Understanding Angular property binding and interpolation
Event binding : This data binding type is when information flows from the view to the component when an event is triggered. ·...
Read more >
Types of Data Binding in Angular 8 | Edureka
Data Binding is the mechanism that binds the applications UI or User Interface to the models. Using Data Binding, the user will be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found