ContextMenuAction#

class ContextMenuAction#

Enum values used to denote the stock actions for ContextMenuItem<!– –>s

Fields#

class ContextMenuAction
BOLD#

Bold.

COPY#

Copy current selection the clipboard.

Copy audio link location in to the clipboard.

COPY_IMAGE_TO_CLIPBOARD#

Copy current image to the clipboard.

COPY_IMAGE_URL_TO_CLIPBOARD#

Copy current image location to the clipboard.

Copy link location to the clipboard.

Copy video link location in to the clipboard.

CUSTOM#

Custom action defined by applications.

CUT#

Cut current selection to the clipboard.

DELETE#

Delete current selection.

DOWNLOAD_AUDIO_TO_DISK#

Download audio to disk. Since 2.2

DOWNLOAD_IMAGE_TO_DISK#

Download current image.

Download link destination.

DOWNLOAD_VIDEO_TO_DISK#

Download video to disk. Since 2.2

ENTER_VIDEO_FULLSCREEN#

Show current video element in fullscreen mode.

FONT_MENU#

Font options menu.

GO_BACK#

Load the previous history item.

GO_FORWARD#

Load the next history item.

IGNORE_GRAMMAR#

Ignore grammar.

IGNORE_SPELLING#

Causes the spellchecker to ignore the word for this session.

INPUT_METHODS#

Input methods menu.

INSERT_EMOJI#

Insert an emoji. Since 2.26

INSPECT_ELEMENT#

Open current element in the inspector.

ITALIC#

Italic.

LEARN_SPELLING#

Causes the spellchecker to add the word to the dictionary.

MEDIA_MUTE#

Mute current media element.

MEDIA_PAUSE#

Pause current media element.

MEDIA_PLAY#

Play current media element.

NO_ACTION#

No action, used by separator menu items.

NO_GUESSES_FOUND#

An indicator that spellchecking found no proposed replacements.

OPEN_AUDIO_IN_NEW_WINDOW#

Open current audio element in a new window.

OPEN_FRAME_IN_NEW_WINDOW#

Open current frame in a new window.

OPEN_IMAGE_IN_NEW_WINDOW#

Open current image in a new window.

Open current link.

Open current link in a new window.

OPEN_VIDEO_IN_NEW_WINDOW#

Open current video element in a new window.

OUTLINE#

Outline.

PASTE#

Paste clipboard contents.

PASTE_AS_PLAIN_TEXT#

Paste clipboard contents as plain text. Since 2.30

RELOAD#

Reload the contents of current view.

SELECT_ALL#

Select all text.

SPELLING_GUESS#

A proposed replacement for a misspelled word.

STOP#

Stop any ongoing loading operation.

TOGGLE_MEDIA_CONTROLS#

Enable or disable media controls.

TOGGLE_MEDIA_LOOP#

Enable or disable media loop.

UNDERLINE#

Underline.

UNICODE#

Unicode menu.