primevue-mirror/components/scrollpanel/ScrollPanel.d.ts

39 lines
921 B
TypeScript
Raw Normal View History

2022-09-06 12:03:37 +00:00
import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export interface ScrollPanelProps {
2022-09-14 11:26:01 +00:00
/**
* Step factor to scroll the content while pressing the arrow keys.
* Default value is 5.
*/
step?: number | undefined;
2022-09-06 12:03:37 +00:00
}
export interface ScrollPanelSlots {
/**
* Custom content slot.
*/
default: () => VNode[];
}
2022-09-14 11:26:01 +00:00
export declare type ScrollPanelEmits = {};
2022-09-06 12:03:37 +00:00
2022-09-14 11:26:01 +00:00
declare class ScrollPanel extends ClassComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits> {}
2022-09-06 12:03:37 +00:00
declare module '@vue/runtime-core' {
interface GlobalComponents {
2022-09-14 11:26:01 +00:00
ScrollPanel: GlobalComponentConstructor<ScrollPanel>;
2022-09-06 12:03:37 +00:00
}
}
/**
*
* ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.
*
* Demos:
*
2022-09-14 11:26:01 +00:00
* - [ScrollPanel](https://www.primefaces.org/primevue/scrollpanel)
2022-09-06 12:03:37 +00:00
*
*/
export default ScrollPanel;