mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
ScrollPanel d.ts updated
This commit is contained in:
parent
6a2839fd59
commit
d74b3a20c5
2 changed files with 148 additions and 51 deletions
33
components/scrollpanel/ScrollPanel.d.ts
vendored
33
components/scrollpanel/ScrollPanel.d.ts
vendored
|
@ -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/)
|
||||
* --- ---
|
||||
* 
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
export declare class ScrollPanel extends ClassComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue