Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
chrome
contextMenus
MenuClickedEvent
Interface MenuClickedEvent
Hierarchy
Event
MenuClickedEvent
Index
Methods
addListener
addRules
getRules
hasListener
hasListeners
removeListener
removeRules
Methods
public
addListener
(
callback
:
(info: chrome.contextMenus.OnClickData, tab?: chrome.tabs.Tab) => void
)
Parameters
callback:
(info: chrome.contextMenus.OnClickData, tab?: chrome.tabs.Tab) => void
public
addRules
(
rules
:
Rule
[]
, callback
?:
(rules: chrome.events.Rule[]) => void
)
Parameters
rules:
Rule
[]
callback?:
(rules: chrome.events.Rule[]) => void
optional
public
getRules
(
callback
:
(rules: chrome.events.Rule[]) => void
)
Parameters
callback:
(rules: chrome.events.Rule[]) => void
public
getRules
(
ruleIdentifiers
:
Array<string>
, callback
:
(rules: chrome.events.Rule[]) => void
)
Parameters
ruleIdentifiers:
Array<string>
callback:
(rules: chrome.events.Rule[]) => void
public
hasListener
(
callback
:
Function
)
Parameters
callback:
Function
public
hasListeners
(
)
:
boolean
Returns
boolean
public
removeListener
(
callback
:
Function
)
Parameters
callback:
Function
public
removeRules
(
ruleIdentifiers
?:
Array<string>
, callback
?:
Function
)
Parameters
ruleIdentifiers?:
Array<string>
optional
callback?:
Function
optional
Globals
chrome
chrome
chrome.alarms
chrome.bookmarks
chrome.browserAction
chrome.browsingData
chrome.commands
chrome.contentSettings
chrome.contextMenus
chrome.cookies
chrome.declarativeWebRequest
chrome.devtools
chrome.devtools.inspectedWindow
chrome.devtools.network
chrome.devtools.panels
chrome.downloads
chrome.events
chrome.extension
chrome.fileBrowserHandler
chrome.fontSettings
chrome.history
chrome.i18n
chrome.identity
chrome.idle
chrome.input
chrome.input.ime
chrome.management
chrome.notifications
chrome.omnibox
chrome.pageAction
chrome.pageCapture
chrome.permissions
chrome.privacy
chrome.proxy
chrome.runtime
chrome.scriptBadge
chrome.socket
chrome.storage
chrome.tabs
chrome.topSites
chrome.tts
chrome.ttsEngine
chrome.types
chrome.webNavigation
chrome.webRequest
chrome.webstore
chrome.windows
onClicked
CreateProperties
MenuClickedEvent
addListener
addRules
getRules
hasListener
hasListeners
removeListener
removeRules
OnClickData
UpdateProperties
create
remove
removeAll
update