tauri-plugin-window 2.0.0-alpha.2

Interact with the Tauri window.
1
2
3
4
5
6
7
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT

window.print = function () {
  return window.__TAURI_INVOKE__("plugin:window|print");
};