tauri/examples/splashscreen/dist/index.html
2021-05-03 11:16:51 -03:00

17 lines
337 B
HTML

<!DOCTYPE html>
<html>
<body>
<h1>This is the main window!</h1>
<script>
document.addEventListener('DOMContentLoaded', () => {
// we delay here just so we can see the splashscreen for a while
setTimeout(() => {
window.__TAURI__.invoke('close_splashscreen')
}, 2000)
})
</script>
</body>
</html>