refactor: refactor parent APIs on WindowBuilder (#8622)

* refactor: refactor parent APIs on `WindowBuilder`

closes #8587 #1643

* fix build

* clippy

* support parent in JS and config

* change files

* fix build

* clippy

* fix doctests

* fix linux build

* fix doctests

* update docs

* fix api, update example to use JS API

* fix merge

* lint

* fix tests on windows

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
Amr Bashir
2024-01-31 18:59:14 +02:00
committed by GitHub
parent a2fc3a6357
commit 9eaeb5a8cd
28 changed files with 465 additions and 151 deletions

View File

@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
const WebviewWindow = window.__TAURI__.window.WebviewWindow
const WebviewWindow = window.__TAURI__.webview.WebviewWindow
const routeSelect = document.querySelector('#route')
const link = document.querySelector('#link')