NOTE: This function is OBSOLETE and retained for compatibility. It is no longer needed because wijmo.xlsx module loads jszip module automatically. You should only ensure that jszip module is installed in your application.
Defines a reference to JSZip module that will be used by the Wijmo xlsx export modules.
This method should be used in npm modules based applications to provide wijmo.xlsx module with a reference to the JSZip module retrieved using the ES6 import statement. For example:
import * as JSZip from 'jszip'; import * as wjcXlsx from 'wijmo/wijmo.xlsx'; wjcXlsx.useJSZip(JSZip);
Reference to the JSZip constructor function.
The module has a dependency on the JSZip library which can be referenced as follows:
It's enough to call the useJSZip function only once per application page, and the best place to do it could be a some root module of the application.