Open csharperperson opened 2 years ago
@csharperperson We use knockout inside the survey-angular package. We call onAfterRenderX events based on knockout onAfterRender callback function in template. I am afraid we can't change it. You can put your function into setTimeout
function to make it work as you need.
PS: After releasing Creator V2 for react and knockout, we are going to work on angular rendering for SurveyJS Library and then SurveyJS Creator. After that you will be able to change rendering by replacing our Angular components by your own, as we do for react.
Thank you, Andrew
Are you requesting a feature, reporting a bug or asking a question?
Question
What is the current behavior?
onAfterRenderSurvey is firing BEFORE onAfterRenderQuestion event
What is the expected behavior?
onAfterRenderQuestion is should fire BEFORE onAfterRenderSurvey event
How would you reproduce the current behavior (if this is a bug)?
Attach callback method for onAfterRenderQuestion and onAfterRenderSurvey, you'll notice the onAfterRenderSurvey fires first. This is observed in Angular