UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

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