@highcharts/dashboards
Version:
Highcharts Dashboards framework
38 lines (37 loc) • 800 B
JavaScript
/* *
*
* (c) 2009-2026 Highsoft AS
*
* Integration of this software requires a license.
* - For commercial use, see www.highcharts.com/license
* - For non-commercial, see www.highcharts.com/license-eula
*
*
* Authors:
* - Sebastian Bochan
* - Wojciech Chmiel
* - Gøran Slettemark
* - Sophie Bremer
*
* */
const MenuItemBindings = {
/* *
*
* Context menu
*
* */
viewFullscreen: {
id: 'viewFullscreen',
type: 'button',
langKey: 'viewFullscreen',
events: {
click: function () {
const fullScreen = this.menu.editMode.board.fullscreen;
if (fullScreen) {
fullScreen.toggle();
}
}
}
}
};
export default MenuItemBindings;