Skip to content

Commit

Permalink
Fix accessibility tests for js-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Dec 29, 2024
1 parent 4d2a551 commit cdf8f78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions accessibilityTests/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export const initSurvey = ClientFunction(
el: "#surveyElement",
data: { survey: model },
});
} else if (framework === "survey-js-ui") {
document.getElementById("surveyElement").innerHTML = "";
(window as any).SurveyUI.renderSurvey(model, document.getElementById("surveyElement"));
} else if (framework === "angular" || framework == "vue3") {
(window as any).setSurvey(model);
}
Expand Down

0 comments on commit cdf8f78

Please sign in to comment.