mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 16:16:56 +00:00
* feat: update to latest wry * wry dev branch [skip ci] * fix linux [skip ci] * refactor(runtime): split webview and window types * split dispatch * implement create_webview * move webview message * wip webview mod * create webview manager, finish webview struct and builder * fix tests and docs * rename WindowUrl to WebviewUrl * update examples * event refactor * update JS API * fix events * update example * add WebviewWindow class on JS * fix macos build * allow creating window+webview on the same runtime call * rename tauri://window-created to tauri://webview-created * Window::add_child * use inner_size from webview on macOS * add multiwebview example * automatically resize webviews on window resize * fix tests * set_position, set_size * position, size getters * set_focus * add close fn * update mock runtime * lint [skip ci] * fix inner_size getter [skip ci] * import hwnd [skip ci] * update webview bound ratios on set_size/set_position * add auto_resize option * fix android * fix build on windows * typo * with_webview isnt desktop only * add WebviewWindow rust struct (and builder) * fix build on android * license header * fix macos/windows * fix macos build * resolve todo * handle window not found * hide unstable features * document unstable feature [skip ci] * webview plugin permissions * hide more stuff * fix doctests * typos * add change files * fix examples * rename hook
27 lines
804 B
TypeScript
27 lines
804 B
TypeScript
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
/**
|
|
* The Tauri API allows you to interface with the backend layer.
|
|
*
|
|
* This module exposes all other modules as an object where the key is the module name, and the value is the module exports.
|
|
* @example
|
|
* ```typescript
|
|
* import { event, window, path } from '@tauri-apps/api'
|
|
* ```
|
|
* @module
|
|
*/
|
|
|
|
import * as app from './app'
|
|
import * as event from './event'
|
|
import * as core from './core'
|
|
import * as window from './window'
|
|
import * as webview from './webview'
|
|
import * as path from './path'
|
|
import * as dpi from './dpi'
|
|
import * as tray from './tray'
|
|
import * as menu from './menu'
|
|
|
|
export { app, dpi, event, path, core, window, webview, tray, menu }
|