Currently I am grabbing an instance of the survey and registering an event specifically the onAfterRenderPage
. Is there a way to unregister this?
Unregister an event
Show previous comments
(0)
Comments
(0)
Sign in to comment on this post
Answers approved by surveyjs Support
Hello Eric,
Sure,
survey.onAfterRenderPage.clear();
will remove all registered functions for an event. It works for any event.
Thank you,
Andrew
SurveyJS Team