vue-tianditu2
Version:
46 lines (45 loc) • 1.14 kB
TypeScript
import { PropType } from 'vue';
import { DefineEmits, DefineProps, Point } from '../../utils/types';
export declare const NATIVE_PROPS: {
/** 控件的停靠位置 */
position: {
type: PropType<T.ControlPosition>;
default: string;
};
};
export declare const OTHER_PROPS: {
/** 设置控件停靠的偏移量 */
offset: {
type: PropType<Point>;
};
/** 是否可见 */
visible: {
type: BooleanConstructor;
default: boolean;
};
};
export declare const NATIVE_EVENTS: {};
export declare const OTHER_EVENTS: {
init: (e: T.Control) => boolean;
};
export declare const PROPS: {
/** 设置控件停靠的偏移量 */
offset: {
type: PropType<Point>;
};
/** 是否可见 */
visible: {
type: BooleanConstructor;
default: boolean;
};
/** 控件的停靠位置 */
position: {
type: PropType<T.ControlPosition>;
default: string;
};
};
export declare const EVENTS: {
init: (e: T.Control) => boolean;
};
export type Props = DefineProps<typeof PROPS>;
export type Emit = DefineEmits<typeof EVENTS>;