Skip to content

Commit

Permalink
Update the Quiz example to use the new Timer API
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanTsukanov committed Oct 4, 2024
1 parent 422d915 commit 6d556cc
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions quiz/angular/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { Model } from "survey-core";
const surveyJson = {
title: "American History",
showProgressBar: "bottom",
showTimerPanel: "top",
maxTimeToFinishPage: 10,
maxTimeToFinish: 25,
showTimer: true,
timeLimitPerPage: 10,
timeLimit: 25,
firstPageIsStarted: true,
startSurveyText: "Start Quiz",
pages: [{
Expand Down
6 changes: 3 additions & 3 deletions quiz/jquery/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const surveyJson = {
title: "American History",
showProgressBar: "bottom",
showTimerPanel: "top",
maxTimeToFinishPage: 10,
maxTimeToFinish: 25,
showTimer: true,
timeLimitPerPage: 10,
timeLimit: 25,
firstPageIsStarted: true,
startSurveyText: "Start Quiz",
pages: [{
Expand Down
6 changes: 3 additions & 3 deletions quiz/knockout/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const surveyJson = {
title: "American History",
showProgressBar: "bottom",
showTimerPanel: "top",
maxTimeToFinishPage: 10,
maxTimeToFinish: 25,
showTimer: true,
timeLimitPerPage: 10,
timeLimit: 25,
firstPageIsStarted: true,
startSurveyText: "Start Quiz",
pages: [{
Expand Down
6 changes: 3 additions & 3 deletions quiz/react/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { Survey } from 'survey-react-ui';
const surveyJson = {
title: "American History",
showProgressBar: "bottom",
showTimerPanel: "top",
maxTimeToFinishPage: 10,
maxTimeToFinish: 25,
showTimer: true,
timeLimitPerPage: 10,
timeLimit: 25,
firstPageIsStarted: true,
startSurveyText: "Start Quiz",
pages: [{
Expand Down
6 changes: 3 additions & 3 deletions quiz/vue/src/components/Quiz.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { Survey } from 'survey-vue-ui';
const surveyJson = {
title: "American History",
showProgressBar: "bottom",
showTimerPanel: "top",
maxTimeToFinishPage: 10,
maxTimeToFinish: 25,
showTimer: true,
timeLimitPerPage: 10,
timeLimit: 25,
firstPageIsStarted: true,
startSurveyText: "Start Quiz",
pages: [{
Expand Down
6 changes: 3 additions & 3 deletions quiz/vue3/src/components/Quiz.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { SurveyComponent } from "survey-vue3-ui";
const surveyJson = {
title: "American History",
showProgressBar: "bottom",
showTimerPanel: "top",
maxTimeToFinishPage: 10,
maxTimeToFinish: 25,
showTimer: true,
timeLimitPerPage: 10,
timeLimit: 25,
firstPageIsStarted: true,
startSurveyText: "Start Quiz",
pages: [{
Expand Down

0 comments on commit 6d556cc

Please sign in to comment.