mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Lint changes
This commit is contained in:
parent
eb2de5460c
commit
4d3a071e66
291 changed files with 28450 additions and 26621 deletions
|
@ -1,34 +1,34 @@
|
|||
const ScrollTopProps = [
|
||||
{
|
||||
name: "target",
|
||||
type: "string",
|
||||
default: "window",
|
||||
name: 'target',
|
||||
type: 'string',
|
||||
default: 'window',
|
||||
description: 'Target of the ScrollTop, valid values are "window" and "parent".'
|
||||
},
|
||||
{
|
||||
name: "threshold",
|
||||
type: "number",
|
||||
default: "400",
|
||||
description: "Defines the threshold value of the vertical scroll position of the target to toggle the visibility."
|
||||
name: 'threshold',
|
||||
type: 'number',
|
||||
default: '400',
|
||||
description: 'Defines the threshold value of the vertical scroll position of the target to toggle the visibility.'
|
||||
},
|
||||
{
|
||||
name: "icon",
|
||||
type: "string",
|
||||
default: "pi pi-chevron-up",
|
||||
description: "Icon to display."
|
||||
name: 'icon',
|
||||
type: 'string',
|
||||
default: 'pi pi-chevron-up',
|
||||
description: 'Icon to display.'
|
||||
},
|
||||
{
|
||||
name: "behavior",
|
||||
type: "string",
|
||||
default: "smooth",
|
||||
name: 'behavior',
|
||||
type: 'string',
|
||||
default: 'smooth',
|
||||
description: 'Defines the scrolling behavi, "smooth" adds an animation and "auto" scrolls with a jump.'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
scrolltop: {
|
||||
name: "ScrollTop",
|
||||
description: "ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.",
|
||||
name: 'ScrollTop',
|
||||
description: 'ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.',
|
||||
props: ScrollTopProps
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue