ScrollPanel d.ts updated

This commit is contained in:
Bahadır Sofuoğlu 2023-02-28 20:39:29 +03:00
parent 6a2839fd59
commit d74b3a20c5
2 changed files with 148 additions and 51 deletions

View file

@ -1,14 +1,29 @@
/**
*
* ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.
*
* [Live Demo](https://www.primevue.org/scrollpanel/)
*
* @module scrollpanel
*
*/
import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
/**
* Defines valid properties in ScrollPanel component.
*/
export interface ScrollPanelProps {
/**
* Step factor to scroll the content while pressing the arrow keys.
* Default value is 5.
* @defaultValue 5
*/
step?: number | undefined;
}
/**
* Defines valid slots in Accordion slots.
*/
export interface ScrollPanelSlots {
/**
* Custom content slot.
@ -16,9 +31,21 @@ export interface ScrollPanelSlots {
default: () => VNode[];
}
export declare type ScrollPanelEmits = {};
export interface ScrollPanelEmits {}
declare class ScrollPanel extends ClassComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits> {}
/**
* **PrimeVue - ScrollPanel**
*
* _ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.._
*
* [Live Demo](https://www.primevue.org/scrollpanel/)
* --- ---
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg)
*
* @group Component
*
*/
export declare class ScrollPanel extends ClassComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits> {}
declare module '@vue/runtime-core' {
interface GlobalComponents {