mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
parent
1b88a2f7d1
commit
4c8eb6cab2
5 changed files with 41 additions and 8 deletions
17
components/lib/splitbutton/SplitButton.d.ts
vendored
17
components/lib/splitbutton/SplitButton.d.ts
vendored
|
@ -78,7 +78,7 @@ export interface SplitButtonPassThroughOptions {
|
|||
* Used to pass attributes to the Button component.
|
||||
* @see {@link ButtonPassThroughOptions}
|
||||
*/
|
||||
menuButton?: ButtonPassThroughOptions<SplitButtonSharedPassThroughMethodOptions>;
|
||||
dropdown?: ButtonPassThroughOptions<SplitButtonSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the TieredMenu component.
|
||||
* @see {@link TieredMenuPassThroughOptions}
|
||||
|
@ -168,6 +168,10 @@ export interface SplitButtonProps {
|
|||
* @deprecated since v3.27.0. Use 'menubuttonicon' slot.
|
||||
*/
|
||||
menuButtonIcon?: string | undefined;
|
||||
/**
|
||||
* Name of the menu button icon.
|
||||
*/
|
||||
dropdownIcon?: string | undefined;
|
||||
/**
|
||||
* Defines the style of the button.
|
||||
*/
|
||||
|
@ -245,6 +249,7 @@ export interface SplitButtonSlots {
|
|||
class: string;
|
||||
}): VNode[];
|
||||
/**
|
||||
* @deprecated since v4.0. Use dropdownicon slot instead.
|
||||
* Custom menu button icon template.
|
||||
* @param {Object} scope - menubuttonicon slot's params.
|
||||
*/
|
||||
|
@ -254,6 +259,16 @@ export interface SplitButtonSlots {
|
|||
*/
|
||||
class: string;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom menu button icon template.
|
||||
* @param {Object} scope - menubuttonicon slot's params.
|
||||
*/
|
||||
dropdownicon(scope: {
|
||||
/**
|
||||
* Style class of the icon.
|
||||
*/
|
||||
class: string;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom menu item icon template.
|
||||
* @param {Object} scope - menuitemicon slot's params.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue