| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- import type { ScrollbarDirection } from './scrollbar';
- import type { CSSProperties, StyleValue } from 'vue';
- declare function scrollTo(xCord: number, yCord?: number): void;
- declare function scrollTo(options: ScrollToOptions): void;
- declare function __VLS_template(): {
- default?(_: {}): any;
- };
- declare const __VLS_component: import("vue").DefineComponent<{
- readonly ariaLabel: StringConstructor;
- readonly ariaOrientation: {
- readonly type: import("vue").PropType<string>;
- readonly required: false;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly distance: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
- 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 | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | 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;
- }, {
- /** @description scrollbar wrap ref */
- wrapRef: import("vue").Ref<HTMLDivElement | undefined>;
- /** @description update scrollbar state manually */
- update: () => void;
- /** @description scrolls to a particular set of coordinates */
- scrollTo: typeof scrollTo;
- /** @description set distance to scroll top */
- setScrollTop: (value: number) => void;
- /** @description set distance to scroll left */
- setScrollLeft: (value: number) => void;
- /** @description handle scroll event */
- handleScroll: () => void;
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
- scroll: (args_0: {
- scrollTop: number;
- scrollLeft: number;
- }) => void;
- "end-reached": (direction: ScrollbarDirection) => void;
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
- readonly ariaLabel: StringConstructor;
- readonly ariaOrientation: {
- readonly type: import("vue").PropType<string>;
- readonly required: false;
- readonly validator: ((val: unknown) => boolean) | undefined;
- __epPropKey: true;
- };
- readonly distance: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
- 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 | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | 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;
- }>> & {
- onScroll?: ((args_0: {
- scrollTop: number;
- scrollLeft: number;
- }) => any) | undefined;
- "onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
- }, {
- readonly tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
- readonly height: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
- readonly maxHeight: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
- readonly always: boolean;
- readonly minSize: number;
- readonly distance: number;
- readonly wrapStyle: StyleValue;
- readonly wrapClass: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
- readonly viewClass: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
- readonly viewStyle: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
- readonly tag: string;
- readonly native: boolean;
- readonly noresize: boolean;
- }>;
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
- export default _default;
- type __VLS_WithTemplateSlots<T, S> = T & {
- new (): {
- $slots: S;
- };
- };
|