You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to no avail importing a module in a webview with cordova. This Particular library from chart IQ only use import statements and I cant get to work. On a browser all works fine.
// This inline script acts as the entry point, without creating a separate external file.
// Reference a file of statically defined chart data.
//import sample5min from "chartiq/examples/data/STX_SAMPLE_5MIN.js";
// Reference the charting library.
import "chartiq/js/standard.js";
import "chartiq/js/addOns.js";
import { CIQ } from "chartiq/js/components.js";
Object.assign(globalThis, { CIQ });
// Instantiate a CIQ.ChartEngine object, the main object for creating charts.
window.stxx = new CIQ.ChartEngine({
container: document.querySelector(".chartContainer")
});
</script>`
CIQ / stxx is not available in window no matter what I try. Anything Im missing with this plugin?
Using latest version of cordova ios 6.3
Thanks everyone!
The text was updated successfully, but these errors were encountered:
Hi,
I have been trying to no avail importing a module in a webview with cordova. This Particular library from chart IQ only use import statements and I cant get to work. On a browser all works fine.
Something like:
` <script type="module" crossorigin="use-credentials">
CIQ / stxx is not available in window no matter what I try. Anything Im missing with this plugin?
Using latest version of cordova ios 6.3
Thanks everyone!
The text was updated successfully, but these errors were encountered: