UNPKG

vue-cesium

Version:
71 lines (70 loc) 2.51 kB
import type { ExtractPropTypes, PropType } from 'vue'; import type { VcColor, VcComponentInternalInstance, VcComponentPublicInstance, VcPosition, VcReadyObject } from 'vue-cesium/es/utils/types'; export type VcPostProcessStageScanOpts = { position?: VcPosition; radius: number; interval: number; color: VcColor; }; export declare const postProcessStageScanProps: { type: { type: StringConstructor; default: string; }; options: PropType<VcPostProcessStageScanOpts>; }; declare const _default: import("vue").DefineComponent<{ type: { type: StringConstructor; default: string; }; options: PropType<VcPostProcessStageScanOpts>; }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{ type: { type: StringConstructor; default: string; }; options: PropType<VcPostProcessStageScanOpts>; }>> & { onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; }, { type: string; }>; export default _default; export type VcPostProcessStageScanProps = { /** * Specify the scan type, optional values are'radar','circle'. */ type?: 'radar' | 'circle'; /** * Specify optional parameters. */ options?: VcPostProcessStageScanOpts; /** * Triggers before the component is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the component is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the component is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; }; export type VcPostProcessStageScanRef = VcComponentPublicInstance<VcPostProcessStageScanProps>;