vue-tianditu2
Version:
55 lines (54 loc) • 1.66 kB
TypeScript
export declare const SearchBox: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
modelValue: {
type: StringConstructor;
default: string;
};
/** 显示在输入框的提示 */
placeholder: {
type: StringConstructor;
default: string;
};
/** 是否显示搜索按钮 */
searchBtn: {
type: BooleanConstructor;
default: boolean;
};
/** 是否显示导航按钮 */
routeBtn: {
type: BooleanConstructor;
default: boolean;
};
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (e: string) => true;
search: (e: string) => true;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
modelValue: {
type: StringConstructor;
default: string;
};
/** 显示在输入框的提示 */
placeholder: {
type: StringConstructor;
default: string;
};
/** 是否显示搜索按钮 */
searchBtn: {
type: BooleanConstructor;
default: boolean;
};
/** 是否显示导航按钮 */
routeBtn: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onSearch?: ((e: string) => any) | undefined;
"onUpdate:modelValue"?: ((e: string) => any) | undefined;
}>, {
modelValue: string;
placeholder: string;
searchBtn: boolean;
routeBtn: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;