Fix import path for getCurrent and WebviewWindow in docs (#2364)

This commit is contained in:
Sanket Chaudhari
2021-08-09 02:11:27 +05:30
committed by GitHub
parent c410e034f7
commit 7fcd991aab

View File

@@ -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()