mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3797 - DeferredContent updates
This commit is contained in:
parent
02307960ec
commit
f5f92807c5
3 changed files with 63 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
|||
const DeferredContentProps = [
|
||||
{
|
||||
name: 'pt',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Uses to pass attributes to DOM elements inside the component.'
|
||||
}
|
||||
];
|
||||
|
||||
const DeferredContentEvents = [
|
||||
{
|
||||
name: 'load',
|
||||
|
@ -16,6 +25,7 @@ module.exports = {
|
|||
deferredcontent: {
|
||||
name: 'DeferredContent',
|
||||
description: 'DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll.',
|
||||
props: DeferredContentProps,
|
||||
events: DeferredContentEvents
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue