Namespace: ContextMenus

ContextMenus

Manage the Context Menus for the extension

Source:
See:

Methods


<private, static> _onInstalled(details)

Event: Fired when the extension is first installed,
when the extension is updated to a new version,
and when Chrome is updated to a new version.

Parameters:
Name Type Description
details Object

type of event

Source:
See:

<private, static> _onKeyCommand(cmd)

Event: Fired when a registered command is activated using a keyboard shortcut.

Parameters:
Name Type Description
cmd string

keyboard command

Source:
See:

<private, static> _onMenuClicked(info)

Event: Fired when a context menu item is clicked.

Parameters:
Name Type Description
info Object

info. on the clicked menu

Properties
Name Type Description
menuItemId Object

menu name

Source:
See:

<private, static> _toggleEnabled()

Toggle enabled state of the screen saver

Source: