Expand all

ve.ui.CommandHelpDialog

Extends

Constructor

new ve.ui.CommandHelpDialog([config]) #

Dialog for listing all command keyboard shortcuts.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Source:
Dialog for listing all command keyboard shortcuts.

Methods

buildKeyNode(key) → {jQuery}static #

Wrap a key (as provided by a Trigger) in a node, for display

Parameters:

Name Type Description
key string

Key to display

Source:

Returns:

A kbd wrapping the key text

Type
jQuery
Wrap a key (as provided by a Trigger) in a node, for display

sortedCommandsFromGroup(groupName, [promote], [demote]) → {Array.<Object>}static #

Extract a properly sorted list of commands from a command-group

Parameters:

Name Type Attributes Description
groupName string

The dialog-category in which to display this

promote Array.<string> optional

Commands which should be displayed first

demote Array.<string> optional

Commands which should be displayed last

Source:

Returns:

List of commands in order

Type
Array.<Object>
Extract a properly sorted list of commands from a command-group