File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ onMounted(() => {
21
21
data
22
22
);
23
23
surveyAnalytics .render (
24
- document .getElementById (" summaryContainer" )
24
+ document .getElementById (" summaryContainer" ) as HTMLElement
25
25
);
26
26
});
27
27
</script >
Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ const survey = new Model(json);
29
29
onMounted (() => {
30
30
DataTables .initJQuery ($ );
31
31
const surveyAnalyticsDataTables = new DataTables (survey , data );
32
- surveyAnalyticsDataTables .render (document .getElementById (" tableContainer" ));
32
+ surveyAnalyticsDataTables .render (document .getElementById (" tableContainer" ) as HTMLElement );
33
33
});
34
34
</script >
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import "jspdf-autotable"
13
13
import jsPDF from " jspdf" ;
14
14
import * as XLSX from " xlsx" ;
15
15
16
- window . jsPDF = jsPDF ;
17
- window . XLSX = XLSX ;
16
+ window [ " jsPDF" ] = jsPDF ;
17
+ window [ " XLSX" ] = XLSX ;
18
18
19
19
import { Tabulator } from " survey-analytics/survey.analytics.tabulator" ;
20
20
@@ -27,7 +27,7 @@ const survey = new Model(json);
27
27
28
28
onMounted (() => {
29
29
const surveyAnalyticsTabulator = new Tabulator (survey , data );
30
- surveyAnalyticsTabulator .render (document .getElementById (" tableContainer" ));
30
+ surveyAnalyticsTabulator .render (document .getElementById (" tableContainer" ) as HTMLElement );
31
31
});
32
32
33
33
</script >
You can’t perform that action at this time.
0 commit comments