mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-07 11:14:00 +08:00
chrome.runtime.openOptionsPage
This commit is contained in:
1 parent
68374669bf
commit
fda3f446c8
2 files changed
+10
No files matched your search
@@ -249,3 +249,12 @@ function contentSettings() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// https://developer.chrome.com/extensions/runtime#method-openOptionsPage
|
||||
function testOptionsPage() {
|
||||
chrome.runtime.openOptionsPage();
|
||||
chrome.runtime.openOptionsPage(function() {
|
||||
// Do a thing ...
|
||||
});
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -1649,6 +1649,7 @@ declare module chrome.runtime {
|
||||
export function getPackageDirectoryEntry(callback: (directoryEntry: any) => void): void;
|
||||
export function getPlatformInfo(callback: (platformInfo: PlatformInfo) => void): void;
|
||||
export function getURL(path: string): string;
|
||||
export function openOptionsPage(callback?: () => void): void;
|
||||
export function reload(): void;
|
||||
export function requestUpdateCheck(callback: (status: string, details?: UpdateCheckDetails) => void): void;
|
||||
export function restart(): void;
|
||||
|
||||
Reference in new issue
Block a user