cgxp.plugins.MenuShortcut

ptype
cgxp_menushortcut
class cgxp.plugins.MenuShortcut(config)

Used to add Ext menu shortcut

Example Use

Sample code showing how to add a MenuShortcut plugin to a gxp.Viewer:

new gxp.Viewer({
    ...
    tools: [{
        ptype: 'cgxp_menushortcut',
        actionTarget: 'center.tbar',
        type: '->'
    }]
    ...
});

Config Options

Configuration properties.

type

The type of menu to add (‘->’, ‘-‘, ‘ ‘).

Table Of Contents

Previous topic

cgxp.plugins.Menu

Next topic

cgxp.plugins.ModalDisclaimer

This Page

Fork me on GitHub