Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add Webview.reload and WebviewWindow.reload#12818

Merged
lucasfernog merged 3 commits into
tauri-apps:devfrom
Simon-Laux:reload-feature
Mar 2, 2025
Merged

feat: add Webview.reload and WebviewWindow.reload#12818
lucasfernog merged 3 commits into
tauri-apps:devfrom
Simon-Laux:reload-feature

Conversation

@Simon-Laux
Copy link
Copy Markdown
Contributor

@Simon-Laux Simon-Laux commented Feb 26, 2025

For reloading pages from rust, without hacks such as injecting javascript (that may not work without js #12821 and are not really good practice, rather use the real native method on the WebView).

Example to try: https://github.com/Simon-Laux/tauri-experiments/tree/main/examples/reload_tauri

tested on: macOS, linux, windows and android (iOS was not tested but should also work because it is the same code as on macOS)


Progress:

other progress:

  • signed commits
  • .changes file

@FabianLars FabianLars added this to the 2.4 milestone Feb 26, 2025
lucasfernog
lucasfernog previously approved these changes Mar 2, 2025
@lucasfernog lucasfernog marked this pull request as ready for review March 2, 2025 17:56
@lucasfernog lucasfernog requested a review from a team as a code owner March 2, 2025 17:56
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 2, 2025

Package Changes Through 099eb63

There are 3 changes which include @tauri-apps/api with minor, tauri with minor, tauri-runtime-wry with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.3.0 2.4.0
tauri-runtime-wry 2.4.1 2.5.0
tauri 2.3.1 2.4.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants