Skip to content

ChromeCurrentWindowApi

This content is for v1.3.0. Switch to the latest version for up-to-date documentation.

Defined in: infrastructure/chrome/current-window-adapter.ts:14

現在windowを閉じるために使うChrome windows APIの最小shapeです。

https://developer.chrome.com/docs/extensions/reference/api/windows

readonly getCurrent: () => Promise<ChromeCurrentWindow>

Defined in: infrastructure/chrome/current-window-adapter.ts:16

現在windowを取得します。

Promise<ChromeCurrentWindow>


readonly remove: (windowId) => Promise<void>

Defined in: infrastructure/chrome/current-window-adapter.ts:18

Windowを閉じます。

number

Promise<void>

Last updated: