Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
chrome
windows
WindowFocusChangedEvent
Interface WindowFocusChangedEvent
Hierarchy
Event
WindowFocusChangedEvent
Index
Methods
addListener
addRules
getRules
hasListener
hasListeners
removeListener
removeRules
Methods
public
addListener
(
callback
:
(windowId: number) => void
)
Parameters
callback:
(windowId: number) => 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
WINDOW_ID_CURRENT
WINDOW_ID_NONE
onCreated
onFocusChanged
onRemoved
CreateData
GetInfo
UpdateInfo
Window
WindowCreatedEvent
WindowFocusChangedEvent
addListener
addRules
getRules
hasListener
hasListeners
removeListener
removeRules
WindowRemovedEvent
create
get
getAll
getCurrent
getLastFocused
remove
update