Skip to content

Commit

Permalink
Work for #5551 - Implement TOC navigation - fixed progress buttons in…
Browse files Browse the repository at this point in the history
… vue
  • Loading branch information
tsv2013 committed Feb 17, 2023
1 parent 0e1d40f commit 55d012e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vue/progressButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ import { SurveyModel, SurveyProgressButtonsModel } from "survey-core";
@Component
export class ProgressButtons extends Vue {
@Prop() survey: SurveyModel;
@Prop() css: any;
public hasScroller: boolean = false;
private progressButtonsModel: SurveyProgressButtonsModel;
private updateScroller: any = undefined;
constructor() {
super();
this.progressButtonsModel = new SurveyProgressButtonsModel(this.survey);
}
public get css() {
return this.survey.css;
}
mounted() {
const listContainerElement: any = this.$refs["progressButtonsListContainer"];
this.updateScroller = setInterval(() => {
Expand Down

0 comments on commit 55d012e

Please sign in to comment.