2023-02-28 14:44:35 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Card is a flexible container component.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/card/)
|
|
|
|
*
|
|
|
|
* @module card
|
|
|
|
*
|
|
|
|
*/
|
2022-09-06 12:03:37 +00:00
|
|
|
import { VNode } from 'vue';
|
|
|
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
|
|
|
2022-09-14 11:26:01 +00:00
|
|
|
export interface CardProps {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
|
|
|
export interface CardSlots {
|
|
|
|
/**
|
|
|
|
* Custom header template.
|
|
|
|
*/
|
2023-02-28 14:44:35 +00:00
|
|
|
header(): VNode[];
|
2022-09-06 12:03:37 +00:00
|
|
|
/**
|
|
|
|
* Custom title template.
|
|
|
|
*/
|
2023-02-28 14:44:35 +00:00
|
|
|
title(): VNode[];
|
2022-09-06 12:03:37 +00:00
|
|
|
/**
|
|
|
|
* Custom subtitle template.
|
|
|
|
*/
|
2023-02-28 14:44:35 +00:00
|
|
|
subtitle(): VNode[];
|
2022-09-06 12:03:37 +00:00
|
|
|
/**
|
|
|
|
* Custom content template.
|
|
|
|
*/
|
2023-02-28 14:44:35 +00:00
|
|
|
content(): VNode[];
|
2022-09-06 12:03:37 +00:00
|
|
|
/**
|
|
|
|
* Custom footer template.
|
|
|
|
*/
|
2023-02-28 14:44:35 +00:00
|
|
|
footer(): VNode[];
|
2022-09-06 12:03:37 +00:00
|
|
|
}
|
|
|
|
|
2023-02-28 14:44:35 +00:00
|
|
|
/**
|
|
|
|
* @group Interfaces
|
|
|
|
*/
|
2022-09-14 11:26:01 +00:00
|
|
|
export declare type CardEmits = {};
|
2022-09-06 12:03:37 +00:00
|
|
|
|
2023-02-28 14:44:35 +00:00
|
|
|
/**
|
|
|
|
* **PrimeVue - Card**
|
|
|
|
*
|
|
|
|
* _Card is a flexible container component._
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/card/)
|
|
|
|
* --- ---
|
|
|
|
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg)
|
|
|
|
*
|
|
|
|
* @group Component
|
|
|
|
*/
|
2023-03-01 12:30:54 +00:00
|
|
|
declare class Card extends ClassComponent<CardProps, CardSlots, CardEmits> {}
|
2022-09-06 12:03:37 +00:00
|
|
|
|
|
|
|
declare module '@vue/runtime-core' {
|
|
|
|
interface GlobalComponents {
|
2022-09-14 11:26:01 +00:00
|
|
|
Card: GlobalComponentConstructor<Card>;
|
2022-09-06 12:03:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Card;
|