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.

_listFilter is the name of the property but you use listFilter in the conditional operator. Is it intentional like something i don’t know that typescript does ?

(A recap) listFilter is the name of getter and setter

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

DeborahKcommented, Sep 11, 2018

We use the getter and setter approach when we need to execute code when getting or setting the property.

In our sample application, we need to refilter the list of products each time the user modifies the list filter property. Since the listFilter is bound to the input box, it will automatically call the setter each time the user updates the input value. That is then where we add the code to filter our list.

Make sense?

KayDeecommented, Sep 11, 2018

Yeah, totally. I’m clear now. Thanks for explaining.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Typo - Definition, Meaning & Synonyms -
A typo is a mistake in written or published writing. If you find a misspelled word or misplaced punctuation mark in this blurb,...
Read more >
Typo (Typographical Error) | What is One Example of a Typo?
Typo is short for typographical error. It is a simplistic way to say there there is a mistake when something is typed or...
Read more >
Typo Definition & Meaning -
Typo is short for typographical error—a mistake made when typing something. The term typically refers to an unintentional error that happens when you ......
Read more >
word meaning - What would qualify as a typo?
A typo (short for typographic error) is a minor error of the presentation of text on the page. Omitting a space is a...
Read more >
What Is a Typo? - apilayer Blog
Most people can't. A typo is an error in the typed or printed text and is short for typographical error. For example, a...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found