UNPKG

element-plus

Version:

A Component Library for Vue 3

25 lines (24 loc) 1.9 kB
import type { ExtractPropTypes, StyleValue } from 'vue'; import type Scrollbar from './scrollbar.vue'; export declare const scrollbarProps: { 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[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => 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>; }; export declare type ScrollbarProps = ExtractPropTypes<typeof scrollbarProps>; export declare const scrollbarEmits: { scroll: ({ scrollTop, scrollLeft, }: { scrollTop: number; scrollLeft: number; }) => boolean; }; export declare type ScrollbarEmits = typeof scrollbarEmits; export declare type ScrollbarInstance = InstanceType<typeof Scrollbar>;