How to manage Angular2 “expression has changed after it was checked” exception when a component property depends on current datetime
My component has styles that depend on current datetime. In my component I’ve got the following function. private fontColor( dto : Dto ) : string { // date d’exécution du dto let dtoDate : Date = new Date( dto.LastExecution ); (…) let color = “hsl( ” + hue + “, 80%, ” + (maxLigness – … Read more