Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • But I want to show the address count 5 Commented Sep 19, 2019 at 4:19
  • You can do it via for loop change @ManoM Commented Sep 19, 2019 at 4:29
  • Inside the if condition : var addressCount = (addressList().length <= 5) ? addressList().length :5; for(var i=0; i < addressCount; i++) { this.createRendererComponent(addressList()[i], i); } Commented Sep 19, 2019 at 4:31
  • Is it correct ? Commented Sep 19, 2019 at 4:31
  • I did not try for 5 but please check from your side. @ManoM Commented Sep 19, 2019 at 4:33