mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
parent
14eca0cc80
commit
8c6c62db04
6 changed files with 60 additions and 30 deletions
23
components/lib/panel/Panel.d.ts
vendored
23
components/lib/panel/Panel.d.ts
vendored
|
@ -94,18 +94,18 @@ export interface PanelPassThroughOptions {
|
|||
*/
|
||||
title?: PanelPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the icons' DOM element.
|
||||
* Used to pass attributes to the header actions' DOM element.
|
||||
*/
|
||||
icons?: PanelPassThroughOptionType;
|
||||
headerActions?: PanelPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the toggler button's DOM element.
|
||||
* Used to pass attributes to the toggle button button's DOM element.
|
||||
* @see {@link ButtonPassThroughOptions}
|
||||
*/
|
||||
toggler?: ButtonPassThroughOptions<PanelSharedPassThroughMethodOptions>;
|
||||
toggleButton?: ButtonPassThroughOptions<PanelSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the toggleablecontent's DOM element.
|
||||
* Used to pass attributes to the content container's DOM element.
|
||||
*/
|
||||
toggleableContent?: PanelPassThroughOptionType;
|
||||
contentContainer?: PanelPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the content's DOM element.
|
||||
*/
|
||||
|
@ -214,6 +214,7 @@ export interface PanelSlots {
|
|||
*/
|
||||
icons(): VNode[];
|
||||
/**
|
||||
* @deprecated since v4.0. Use the 'toggleicon' slot instead.
|
||||
* Custom toggler icon template of panel.
|
||||
* @param {Object} scope - toggler icon slot's params.
|
||||
*/
|
||||
|
@ -223,6 +224,16 @@ export interface PanelSlots {
|
|||
*/
|
||||
collapsed: boolean;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom toggler icon template of panel.
|
||||
* @param {Object} scope - toggler icon slot's params.
|
||||
*/
|
||||
toggleicon(scope: {
|
||||
/**
|
||||
* Collapsed state as a boolean
|
||||
*/
|
||||
collapsed: boolean;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom footer template.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue