tauri/examples/navigation/public/secondary.html

19 lines
441 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri</title>
</head>
<body>
<h1></h1>
<button>Back</button>
<script>
const button = document.querySelector('button')
button.addEventListener('click', () => window.history.back())
</script>
<script src="secondary.js"></script>
</body>
</html>