Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for menus.OnClickData.
Dictionary 0
This corpus is unavailable: timeout
Papers 0
This corpus is unavailable: timeout
Wikidata 0
This corpus is unavailable: timeout
Developer library 6
pageAction.onClicked
n this event occurs. The function is passed these arguments: - `tab` - : A tabs.Tab object representing the tab whose page action was clicked. - `OnClickData` - : An object containing information about the click. - `modifiers` - : An `array`. The keyboard modifiers active at the time of the click, being one or more of `Shift`, `Alt`, `Command`, `Ctrl`, or `MacCtrl`. - `bu
action.onClicked
alled when this event occurs. The function is passed these arguments: - `tab` - : tabs.Tab. The tab that was active when the icon was clicked. - `OnClickData` - : An object containing information about the click. - `modifiers` - : An `array`. The keyboard modifiers active at the time of the click, being one or more of `Shift`, `Alt`, `Command`, `Ctrl`, or `MacCtrl`. - `bu
browserAction.onClicked
alled when this event occurs. The function is passed these arguments: - `tab` - : tabs.Tab. The tab that was active when the icon was clicked. - `OnClickData` - : An object containing information about the click. - `modifiers` - : An `array`. The keyboard modifiers active at the time of the click, being one or more of `Shift`, `Alt`, `Command`, `Ctrl`, or `MacCtrl`. - `bu
menus
nus.create() for more information. Listen for clicks on your menu item by adding a listener to the menus.onClicked event. This listener will be passed a menus.OnClickData object containing the event's details. You can create four different types of menu item, based on the value of the `type` property you supply in the options to `create()`: - "normal": a menu item that just displays a label - "checkbox": a menu it
menus.onClicked
ner syntax ### Parameters - `listener` - : The function called when this event occurs. The function is passed these arguments: - `info` - : menus.OnClickData. Information about the item clicked and the context where the click happened. - `tab` - : tabs.Tab. The details of the tab where the click took place. If the click did not take place in or on a tab, this parameter will be missing. ## Exa
menus.OnClickData
mpatibility > [!NOTE] > This API is based on Chromium's [`chrome.contextMenus`](https://developer.chrome.com/docs/extensions/reference/api/contextMenus#type-OnClickData) API. This documentation is derived from [`context_menus.json`](https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensions/api/context_menus.json) in the Chromium code. <!-- // Copyright 2015 The Chromium Authors. All rights