mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
11 lines
246 B
TypeScript
11 lines
246 B
TypeScript
|
import type { InjectionKey } from 'vue'
|
||
|
|
||
|
export interface scrollbarContext {
|
||
|
scrollbarElement: HTMLDivElement
|
||
|
wrapElement: HTMLDivElement
|
||
|
}
|
||
|
|
||
|
export const scrollbarContextKey: InjectionKey<scrollbarContext> = Symbol(
|
||
|
'scrollbarContextKey'
|
||
|
)
|