mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
Fix import path for getCurrent and WebviewWindow in docs (#2364)
This commit is contained in:
@@ -36,7 +36,7 @@ emit('click', {
|
||||
Window-specific events are exposed on the `window` module.
|
||||
|
||||
```ts
|
||||
import { getCurrent, WebviewWindow } from '@tauri-apps/api/event'
|
||||
import { getCurrent, WebviewWindow } from '@tauri-apps/api/window'
|
||||
|
||||
// emit an event that are only visible to the current window
|
||||
const current = getCurrent()
|
||||
|
||||
Reference in New Issue
Block a user