AnsweredAssumed Answered

How to use 'scheduleRender' function in custom widgets with 4.2

Question asked by Martin-L on Feb 15, 2017
Latest reply on Feb 15, 2017 by Martin-L

Hi at all!


We write some custom widgets with the ArcGIS API 4.2 for JavaScript. Now we want to change the ui after an identify task gives us the result. Therefore I saw the 'scheduleRender' function. Unfortunately now well documented yet.


So I look into the TypeScript widgets 'LayerList' and 'Print' to check how does it work. The render function returns an JSX Element but the functions called from 'scheduleRender' does not.


So my questions is, how do I have to use this function? Is it just the attributes changing that triggers a new rendering ending in 'render' function?


I appreciate any help. Thank you!