element-plus
Version:
A Component Library for Vue 3
10 lines (9 loc) • 353 B
TypeScript
import { InjectionKey } from "vue";
//#region ../../packages/components/scrollbar/src/constants.d.ts
interface ScrollbarContext {
scrollbarElement: HTMLDivElement | undefined;
wrapElement: HTMLDivElement | undefined;
}
declare const scrollbarContextKey: InjectionKey<ScrollbarContext>;
//#endregion
export { ScrollbarContext, scrollbarContextKey };