You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
431 B
13 lines
431 B
import type { Ref } from 'vue';
|
|
export declare type CollectionItem<T = Record<string, any>> = {
|
|
ref: HTMLElement | null;
|
|
} & T;
|
|
export declare type ElCollectionInjectionContext = {
|
|
itemMap: Map<HTMLElement, CollectionItem>;
|
|
getItems: <T>() => CollectionItem<T>[];
|
|
collectionRef: Ref<HTMLElement | null>;
|
|
};
|
|
export declare type ElCollectionItemInjectionContext = {
|
|
collectionItemRef: Ref<HTMLElement | null>;
|
|
};
|