# Is there any js api for calling a function on frontend side when users click the default "X" (close) button???
# https://tauri.app/v1/api/js/event event | Tauri Apps The event system allows you to emit events to the backend and listen to events from it.