diff --git a/components/deferredcontent/DeferredContent.d.ts b/components/deferredcontent/DeferredContent.d.ts index 072149384..6374d6935 100755 --- a/components/deferredcontent/DeferredContent.d.ts +++ b/components/deferredcontent/DeferredContent.d.ts @@ -1,23 +1,49 @@ +/** + * + * DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll. + * + * [Live Demo](https://www.primevue.org/deferredcontent/) + * + * @module deferredcontent + * + */ import { VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; export interface DeferredContentProps {} +/** + * Defines valid slots in DeferredContent component. + */ export interface DeferredContentSlots { /** * Default content slot. */ - default: () => VNode[]; + default(): VNode[]; } -export declare type DeferredContentEmits = { +/** + * Defines valid emits in DeferredContent component. + */ +export interface DeferredContentEmits { /** * Callback to invoke when deferred content is loaded. */ - load: () => void; -}; + load(): void; +} -declare class DeferredContent extends ClassComponent {} +/** + * **PrimeVue - DeferredContent** + * + * _DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll._ + * + * [Live Demo](https://www.primevue.org/deferredcontent/) + * --- --- + * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg) + * + * @group Component + */ +export declare class DeferredContent extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents {