listening-to-tauri-events

Installation
SKILL.md

Listening to Tauri Events in the Frontend

This skill covers how to subscribe to events emitted from Rust in a Tauri v2 application using the @tauri-apps/api/event module.

Core Concepts

Tauri provides two event scopes:

  1. Global events - Broadcast to all listeners across all webviews
  2. Webview-specific events - Targeted to specific webview windows

Important: Webview-specific events are NOT received by global listeners. Use the appropriate listener type based on how events are emitted from Rust.

Installation

The event API is part of the core Tauri API package:

npm install @tauri-apps/api
Related skills

More from beshkenadze/claude-code-tauri-skills

Installs
2
First Seen
Jan 30, 2026