UNPKG

vue-cesium

Version:
46 lines (45 loc) 1.97 kB
import { VcComponentInternalInstance, VcComponentPublicInstance, VcReadyObject } from 'vue-cesium/es/utils/types'; export declare const planeGeometryProps: { vertexFormat: import("vue").PropType<Cesium.VertexFormat>; }; declare const _default: import("vue").DefineComponent<{ vertexFormat: import("vue").PropType<Cesium.VertexFormat>; }, () => 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<import("vue").ExtractPropTypes<{ vertexFormat: import("vue").PropType<Cesium.VertexFormat>; }>> & { onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; }, {}>; export default _default; export type VcGeometryPlaneProps = { /** * The vertex attributes to be computed. */ vertexFormat?: Cesium.VertexFormat; /** * Triggers before the VcGeometryPlane is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcGeometryPlane is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcGeometryPlane is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; }; export type VcGeometryPlaneRef = VcComponentPublicInstance<VcGeometryPlaneProps>;