Files
pig-farm-controller-fe/node_modules/element-plus/lib/components/collection/src/tokens.d.ts
2025-09-19 14:25:20 +08:00

13 lines
417 B
TypeScript

import type { Ref } from 'vue';
export type CollectionItem<T = Record<string, any>> = {
ref: HTMLElement | null;
} & T;
export type ElCollectionInjectionContext = {
itemMap: Map<HTMLElement, CollectionItem>;
getItems: <T>() => CollectionItem<T>[];
collectionRef: Ref<HTMLElement | undefined>;
};
export type ElCollectionItemInjectionContext = {
collectionItemRef: Ref<HTMLElement | undefined>;
};