mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Deferredcontent d.ts updated
This commit is contained in:
parent
1d3b0e49a6
commit
ed1ae7595f
1 changed files with 31 additions and 5 deletions
36
components/deferredcontent/DeferredContent.d.ts
vendored
36
components/deferredcontent/DeferredContent.d.ts
vendored
|
@ -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<DeferredContentProps, DeferredContentSlots, DeferredContentEmits> {}
|
||||
/**
|
||||
* **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/)
|
||||
* --- ---
|
||||
* 
|
||||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class DeferredContent extends ClassComponent<DeferredContentProps, DeferredContentSlots, DeferredContentEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue