mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
parent
07ca49f983
commit
e3c0ee65ec
3 changed files with 25 additions and 10 deletions
9
components/lib/scrolltop/ScrollTop.d.ts
vendored
9
components/lib/scrolltop/ScrollTop.d.ts
vendored
|
@ -7,6 +7,7 @@
|
|||
* @module scrolltop
|
||||
*
|
||||
*/
|
||||
import { VNode } from 'vue';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
|
@ -25,7 +26,6 @@ export interface ScrollTopProps {
|
|||
threshold?: number | undefined;
|
||||
/**
|
||||
* Icon to display.
|
||||
* @defaultValue pi pi-chevron-up
|
||||
*/
|
||||
icon?: string | undefined;
|
||||
/**
|
||||
|
@ -38,7 +38,12 @@ export interface ScrollTopProps {
|
|||
/**
|
||||
* Defines valid slots in ScrollTop component.
|
||||
*/
|
||||
export interface ScrollTopSlots {}
|
||||
export interface ScrollTopSlots {
|
||||
/**
|
||||
* Custom scrolltop icon template.
|
||||
*/
|
||||
icon(): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid emits in ScrollTop component.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue