@jiaozhiye/qm-design-vue
Version:
A Component Library for Vue3.0
15 lines (14 loc) • 489 B
TypeScript
import type { ComponentInternalInstance } from 'vue';
import type { Nullable } from '../../../_utils/types';
type Instance = {
id: string;
vm: ComponentInternalInstance;
};
declare const TableManager: {
_getInstance: (id: string) => Nullable<Instance>;
getFocusInstance: () => Nullable<Instance>;
focus: (id: string) => void;
register: (id: string, instance: ComponentInternalInstance) => void;
deregister: (id: string) => void;
};
export default TableManager;