ChromeCurrentWindowApi
Defined in: infrastructure/chrome/current-window-adapter.ts:14
現在windowを閉じるために使うChrome windows APIの最小shapeです。
https://developer.chrome.com/docs/extensions/reference/api/windows
Properties
Section titled “Properties”getCurrent
Section titled “getCurrent”
readonlygetCurrent: () =>Promise<ChromeCurrentWindow>
Defined in: infrastructure/chrome/current-window-adapter.ts:16
現在windowを取得します。
Returns
Section titled “Returns”Promise<ChromeCurrentWindow>
remove
Section titled “remove”
readonlyremove: (windowId) =>Promise<void>
Defined in: infrastructure/chrome/current-window-adapter.ts:18
Windowを閉じます。
Parameters
Section titled “Parameters”windowId
Section titled “windowId”number
Returns
Section titled “Returns”Promise<void>