Search results

FileMenuSettingsModel API in JavaScript Ribbon API control

Interface for a class FileMenuSettings

Properties

beforeClose

EmitType<FileMenuBeforeOpenCloseEventArgs>

Event triggers before closing the file menu popup.

beforeItemRender

EmitType<FileMenuEventArgs>

Event triggers while rendering each ribbon file menu item.

beforeOpen

EmitType<FileMenuBeforeOpenCloseEventArgs>

Event triggers before opening the file menu popup.

close

EmitType<FileMenuOpenCloseEventArgs>

Event triggers when file menu popup is closed.

open

EmitType<FileMenuOpenCloseEventArgs>

Event triggers when file menu popup is opened.

select

EmitType<FileMenuEventArgs>

Event triggers while selecting an item in ribbon file menu.

animationSettings

MenuAnimationSettingsModel

Specifies the animation settings for the sub menu open/close.

itemTemplate

string | Function

Specifies the template for file menu item.

Defines the list of menu items for the file menu.

popupTemplate

string | HTMLElement

Specifies the custom content for the file menu popup.

ribbonTooltipSettings

RibbonTooltipModel

Specifies the tooltip settings for the file menu button.

showItemOnClick

boolean

Specifies whether to show the sub menu or not on click. When set to true, the sub menu will open only on mouse click.

text

string

Defines the text content of file menu button.

visible

boolean

Defines whether to show the file menu button.