Description
Question you want answered
When looking through the list of methods certain methods, like onCloseRequested
, are listed under platform-specific headings, although they are not platfrom-specific. This is because the platform-specific heading is bigger than the function it is referring to. Would it be possible to change the size of these platform-specific headings, so that there is no further confusion?
Where did you look for an answer?
I looked through the TOC (Table of Contents) for a way to detect when windows are closed, I came across onCloseRequested
but saw that it was listed under a heading, which read 'platform-specific'. After clicking on the heading I saw that it was apparently unsupported on Linux, a OS that I wanted to support. Next, after seeing this I went to the discord to ask for methods that worked on Window, MacOS, and Linux. Shortly after I asked my question someone responded saying that the 'platform-specific' heading was only referring to the isMinimizable
API, not the onCloseRequested
method that was listed under said heading.
Page URL
https://v2.tauri.app/reference/javascript/api/namespacewindow/#methods-1
Additional context
Are you willing to work on this yourself?
- I want to work on this myself
Metadata
Metadata
Assignees
Labels
Type
Projects
Status