Const
This variable defines the WorldWide Telescope Vue component.
In most cases, you would use it in the following way while initializing your Vue app:
import { createApp } from "vue";import { wwtPinia, WWTComponent } from "@wwtelescope/engine-pinia";import MyApp from "./MyApp.vue";createApp(MyApp) .use(wwtPinia) .component("WorldWideTelescope", WWTComponent) .mount("#app"); Copy
import { createApp } from "vue";import { wwtPinia, WWTComponent } from "@wwtelescope/engine-pinia";import MyApp from "./MyApp.vue";createApp(MyApp) .use(wwtPinia) .component("WorldWideTelescope", WWTComponent) .mount("#app");
Then, one of your app’s component templates could use a <WorldWideTelescope> tag to insert a WWT display. Your other components could then use the APIs defined in The WWT Pinia Interface to monitor and control the WWT’s status.
<WorldWideTelescope>
Generated using TypeDoc
This variable defines the WorldWide Telescope Vue component.
In most cases, you would use it in the following way while initializing your Vue app:
Then, one of your app’s component templates could use a
<WorldWideTelescope>
tag to insert a WWT display. Your other components could then use the APIs defined in The WWT Pinia Interface to monitor and control the WWT’s status.