Skip to content

ChromeWindowsApi

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

Defined in: infrastructure/chrome/cli-page-window-adapter.ts:76

Chrome windows APIのうちadapterが使う最小shapeです。

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

readonly create: (createProperties) => Promise<ChromeWindow | undefined>

Defined in: infrastructure/chrome/cli-page-window-adapter.ts:78

新しいwindowを作成します。

ChromeWindowCreateProperties

Promise<ChromeWindow | undefined>


readonly getAll: (queryInfo) => Promise<readonly ChromeWindow[]>

Defined in: infrastructure/chrome/cli-page-window-adapter.ts:83

Window一覧を取得します。

ChromeWindowGetAllQuery

Promise<readonly ChromeWindow[]>


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

Defined in: infrastructure/chrome/cli-page-window-adapter.ts:85

既存windowを閉じます。

number

Promise<void>


readonly update: (windowId, updateProperties) => Promise<ChromeWindow | undefined>

Defined in: infrastructure/chrome/cli-page-window-adapter.ts:87

既存windowを更新します。

number

ChromeWindowUpdateProperties

Promise<ChromeWindow | undefined>

Last updated: