kevinmcisaac
Posts: 37
Joined: Mon Oct 05, 2020 8:27 am

How do I force a screen to redraw from Typescript

I have a screen with a Card that has a *nFor "let item of siteList" that creates card for each item in siteList.

Each card has a button with a Typescript event that allows the user to modify the items in siteList. At the end of the Typescript I want the page redraw due to the changes in siteList.

How do I force a screen to redraw from Typescript

kevinmcisaac
Posts: 37
Joined: Mon Oct 05, 2020 8:27 am

Re: How do I force a screen to redraw from Typescript

Figured it out. I need to update the variable used in the ngFor and angular change detection does the rest... very nice!

Return to “Issues”