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
37
components/lib/portal/Portal.d.ts
vendored
Normal file
37
components/lib/portal/Portal.d.ts
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
type PortalAppendToType = 'body' | 'self' | string | undefined | HTMLElement;
|
||||
|
||||
export interface PortalProps {
|
||||
/**
|
||||
* A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are 'body' for document body and 'self' for the element itself.
|
||||
* @see PortalAppendToType
|
||||
* Default value is 'body'.
|
||||
*/
|
||||
appendTo?: PortalAppendToType;
|
||||
/**
|
||||
* If disabled, the Portal feature is eliminated and the content is displayed directly.
|
||||
* @defaultValue false
|
||||
*/
|
||||
disabled?: boolean | undefined;
|
||||
}
|
||||
|
||||
export interface PortalSlots {
|
||||
/**
|
||||
* Default content slot.
|
||||
*/
|
||||
default: () => VNode[];
|
||||
}
|
||||
|
||||
export declare type PortalEmits = {};
|
||||
|
||||
declare class Portal extends ClassComponent<PortalProps, PortalSlots, PortalEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
Portal: GlobalComponentConstructor<Portal>;
|
||||
}
|
||||
}
|
||||
|
||||
export default Portal;
|
Loading…
Add table
Add a link
Reference in a new issue