WindowClient: navigate() メソッド
navigate()
は WindowClient
インターフェイスのメソッドで、指定された URL を制御されたクライアントのページに読み込んでから、既存の WindowClient
に解決されるプロミス (Promise
) を返します。
構文
js
navigate(url)
引数
url
-
移動先の場所。
返値
既存の WindowClient
に解決されるプロミス (Promise
)。
仕様書
Specification |
---|
Service Workers # client-navigate |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
navigate |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
- No support
- No support
- Has more compatibility info.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.