mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
* refactor(core): add webview events * license header * clippy * fix doctests * more doctests * fix JS `listen` with `EventTarget::Any` * typo * update module import * clippy * remove console.log * fix api example * fix documentation for emiTo [skip ci] * actually add RunEvent::WebviewEvent * update migration * lint --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
39 lines
888 B
TypeScript
39 lines
888 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 webviewWindow from './webviewWindow'
|
|
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,
|
|
webviewWindow,
|
|
tray,
|
|
menu
|
|
}
|