press-ui
Version:
简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
26 lines (25 loc) • 489 B
TypeScript
export declare function ChildrenMixin(parent: string, options?: Record<string, any>): {
inject: {
[x: string]: {
default: null;
};
};
computed: {
[x: number]: () => any;
};
watch: {
disableBindRelation(val: any): void;
};
methods: {
bindRelation(this: any): void;
};
created(): void;
mounted(): void;
beforeDestroy(): void;
};
export declare function ParentMixin(parent: string): {
provide(): {
[x: string]: any;
};
data(): {};
};