mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3802 - Improve folder structure for nuxt configurations
This commit is contained in:
parent
851950270b
commit
f5fe822afb
563 changed files with 1703 additions and 1095 deletions
54
components/lib/deferredcontent/DeferredContent.d.ts
vendored
Executable file
54
components/lib/deferredcontent/DeferredContent.d.ts
vendored
Executable file
|
@ -0,0 +1,54 @@
|
|||
/**
|
||||
*
|
||||
* 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[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid emits in DeferredContent component.
|
||||
*/
|
||||
export interface DeferredContentEmits {
|
||||
/**
|
||||
* Callback to invoke when deferred content is loaded.
|
||||
*/
|
||||
load(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **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
|
||||
*/
|
||||
declare class DeferredContent extends ClassComponent<DeferredContentProps, DeferredContentSlots, DeferredContentEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
DeferredContent: GlobalComponentConstructor<DeferredContent>;
|
||||
}
|
||||
}
|
||||
|
||||
export default DeferredContent;
|
Loading…
Add table
Add a link
Reference in a new issue