콘텐츠로 이동

Frontend API

이 콘텐츠는 아직 번역되지 않았습니다.

Reference for @netwiv/api 0.1.0-dev, the desktop frontend SDK and the only supported frontend entry point. Each page lists only what the SDK exposes: mobile-only methods and options are left out. Descriptions come from the pinned upstream declarations: @tauri-apps/api@2.11.1 for core modules and the matching @tauri-apps/plugin-* package for plugin modules. For setup and the desktop boundary, read the frontend SDK guide.

Module Exports
@netwiv/api/app 14
@netwiv/api/core 14
@netwiv/api/dpi 6
@netwiv/api/event 11
@netwiv/api/image 4
@netwiv/api/menu 15
@netwiv/api/path 34
@netwiv/api/resources 1
@netwiv/api/tray 8
@netwiv/api/window 31
@netwiv/api/webview 7
@netwiv/api/webviewWindow 6

Each plugin module calls a desktop plugin that the app registers in C# and grants a permission for. See official plugins.

Module Exports
@netwiv/api/plugins/autostart 3
@netwiv/api/plugins/cli 4
@netwiv/api/plugins/clipboard-manager 6
@netwiv/api/plugins/deep-link 5
@netwiv/api/plugins/dialog 18
@netwiv/api/plugins/fs 45
@netwiv/api/plugins/global-shortcut 6
@netwiv/api/plugins/http 5
@netwiv/api/plugins/log 9
@netwiv/api/plugins/notification 5
@netwiv/api/plugins/opener 3
@netwiv/api/plugins/os 13
@netwiv/api/plugins/positioner 4
@netwiv/api/plugins/process 2
@netwiv/api/plugins/shell 10
@netwiv/api/plugins/sql 2
@netwiv/api/plugins/store 6
@netwiv/api/plugins/stronghold 16
@netwiv/api/plugins/upload 3
@netwiv/api/plugins/websocket 5
@netwiv/api/plugins/window-state 5