Refactor #3832 Refactor #3833 - For ContextMenu

This commit is contained in:
mertsincan 2023-04-17 08:59:08 +03:00
parent 46f63c068e
commit 2d114831e0
3 changed files with 22 additions and 8 deletions

View file

@ -73,6 +73,20 @@ export interface ContextMenuSlots {
*/
item: MenuItem;
}): VNode[];
/**
* Custom item icon template.
* @param {Object} scope - item icon slot's params.
*/
itemicon(scope: {
/**
* Menuitem instance
*/
item: MenuItem;
/**
* Style class of the item icon element.
*/
class: any;
}): VNode[];
/**
* Custom submenu icon template.
*/