UNPKG

element-plus

Version:

A Component Library for Vue 3

38 lines (37 loc) 2.7 kB
import type { ExtractPropTypes, StyleValue, __ExtractPublicPropTypes } from 'vue'; import type Scrollbar from './scrollbar.vue'; export declare const scrollbarProps: { readonly ariaLabel: StringConstructor; readonly ariaOrientation: { readonly type: import("vue").PropType<string>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>; readonly maxHeight: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>; readonly native: BooleanConstructor; readonly wrapStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>; readonly wrapClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>; readonly viewClass: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>; readonly viewStyle: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>; readonly noresize: BooleanConstructor; readonly tag: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>; readonly always: BooleanConstructor; readonly minSize: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>; readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, undefined, boolean>; readonly id: StringConstructor; readonly role: StringConstructor; }; export type ScrollbarProps = ExtractPropTypes<typeof scrollbarProps>; export type ScrollbarPropsPublic = __ExtractPublicPropTypes<typeof scrollbarProps>; export declare const scrollbarEmits: { 'end-reached': (direction: ScrollbarDirection) => boolean; scroll: ({ scrollTop, scrollLeft, }: { scrollTop: number; scrollLeft: number; }) => boolean; }; export type ScrollbarEmits = typeof scrollbarEmits; export type ScrollbarDirection = 'top' | 'bottom' | 'left' | 'right'; export type ScrollbarInstance = InstanceType<typeof Scrollbar> & unknown;