mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
1 line
316 KiB
JSON
1 line
316 KiB
JSON
{"id":0,"name":"@tauri-apps/api","variant":"project","kind":1,"flags":{},"children":[{"id":587,"name":"app","variant":"declaration","kind":2,"flags":{},"children":[{"id":588,"name":"getName","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":37,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L37"}],"signatures":[{"id":589,"name":"getName","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the application name."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getName } from '@tauri-apps/api/app';\nconst appName = await getName();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":37,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L37"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":592,"name":"getTauriVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":52,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L52"}],"signatures":[{"id":593,"name":"getTauriVersion","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the Tauri version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getTauriVersion } from '@tauri-apps/api/app';\nconst tauriVersion = await getTauriVersion();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":52,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L52"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":590,"name":"getVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":23,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L23"}],"signatures":[{"id":591,"name":"getVersion","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the application version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getVersion } from '@tauri-apps/api/app';\nconst appVersion = await getVersion();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":23,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L23"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":596,"name":"hide","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":82,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L82"}],"signatures":[{"id":597,"name":"hide","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Hides the application on macOS."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { hide } from '@tauri-apps/api/app';\nawait hide();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"app.ts","line":82,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L82"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":594,"name":"show","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":67,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L67"}],"signatures":[{"id":595,"name":"show","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shows the application on macOS. This function does not automatically focus any specific app window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { show } from '@tauri-apps/api/app';\nawait show();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"app.ts","line":67,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L67"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Functions","children":[588,592,590,596,594]}],"sources":[{"fileName":"app.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/app.ts#L1"}]},{"id":1,"name":"dpi","variant":"declaration","kind":2,"flags":{},"children":[{"id":2,"name":"LogicalPosition","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A position represented in logical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":3,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":62,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L62"}],"signatures":[{"id":4,"name":"new LogicalPosition","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":62,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L62"}],"parameters":[{"id":5,"name":"x","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":6,"name":"y","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"}}]},{"id":7,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":58,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L58"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Logical'"},{"id":8,"name":"x","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L59"}],"type":{"type":"intrinsic","name":"number"}},{"id":9,"name":"y","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":60,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L60"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Constructors","children":[3]},{"title":"Properties","children":[7,8,9]}],"sources":[{"fileName":"dpi.ts","line":57,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L57"}]},{"id":10,"name":"LogicalSize","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A size represented in logical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":11,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":15,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L15"}],"signatures":[{"id":12,"name":"new LogicalSize","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":15,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L15"}],"parameters":[{"id":13,"name":"width","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":14,"name":"height","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"}}]},{"id":17,"name":"height","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":13,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L13"}],"type":{"type":"intrinsic","name":"number"}},{"id":15,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":11,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L11"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Logical'"},{"id":16,"name":"width","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":12,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L12"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Constructors","children":[11]},{"title":"Properties","children":[17,15,16]}],"sources":[{"fileName":"dpi.ts","line":10,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L10"}]},{"id":18,"name":"PhysicalPosition","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A position represented in physical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":19,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":78,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L78"}],"signatures":[{"id":20,"name":"new PhysicalPosition","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":78,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L78"}],"parameters":[{"id":21,"name":"x","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":22,"name":"y","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}}]},{"id":23,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":74,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L74"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Physical'"},{"id":24,"name":"x","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":75,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L75"}],"type":{"type":"intrinsic","name":"number"}},{"id":25,"name":"y","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":76,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L76"}],"type":{"type":"intrinsic","name":"number"}},{"id":26,"name":"toLogical","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"dpi.ts","line":94,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L94"}],"signatures":[{"id":27,"name":"toLogical","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Converts the physical position to a logical one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst appWindow = getCurrent();\nconst factor = await appWindow.scaleFactor();\nconst position = await appWindow.innerPosition();\nconst logical = position.toLogical(factor);\n```"}]}]},"sources":[{"fileName":"dpi.ts","line":94,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L94"}],"parameters":[{"id":28,"name":"scaleFactor","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[19]},{"title":"Properties","children":[23,24,25]},{"title":"Methods","children":[26]}],"sources":[{"fileName":"dpi.ts","line":73,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L73"}]},{"id":29,"name":"PhysicalSize","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A size represented in physical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":30,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L31"}],"signatures":[{"id":31,"name":"new PhysicalSize","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L31"}],"parameters":[{"id":32,"name":"width","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":33,"name":"height","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}]},{"id":36,"name":"height","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":29,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L29"}],"type":{"type":"intrinsic","name":"number"}},{"id":34,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":27,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L27"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Physical'"},{"id":35,"name":"width","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":28,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L28"}],"type":{"type":"intrinsic","name":"number"}},{"id":37,"name":"toLogical","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"dpi.ts","line":47,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L47"}],"signatures":[{"id":38,"name":"toLogical","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Converts the physical size to a logical one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst appWindow = getCurrent();\nconst factor = await appWindow.scaleFactor();\nconst size = await appWindow.innerSize();\nconst logical = size.toLogical(factor);\n```"}]}]},"sources":[{"fileName":"dpi.ts","line":47,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L47"}],"parameters":[{"id":39,"name":"scaleFactor","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[30]},{"title":"Properties","children":[36,34,35]},{"title":"Methods","children":[37]}],"sources":[{"fileName":"dpi.ts","line":26,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L26"}]}],"groups":[{"title":"Classes","children":[2,10,18,29]}],"sources":[{"fileName":"dpi.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/dpi.ts#L1"}]},{"id":40,"name":"event","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"The event system allows you to emit events to the backend and listen to events from it.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.event`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":75,"name":"TauriEvent","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"children":[{"id":88,"name":"MENU","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L59"}],"type":{"type":"literal","value":"tauri://menu"}},{"id":82,"name":"WINDOW_BLUR","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":53,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L53"}],"type":{"type":"literal","value":"tauri://blur"}},{"id":78,"name":"WINDOW_CLOSE_REQUESTED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":49,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L49"}],"type":{"type":"literal","value":"tauri://close-requested"}},{"id":79,"name":"WINDOW_CREATED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":50,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L50"}],"type":{"type":"literal","value":"tauri://window-created"}},{"id":80,"name":"WINDOW_DESTROYED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":51,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L51"}],"type":{"type":"literal","value":"tauri://destroyed"}},{"id":85,"name":"WINDOW_FILE_DROP","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":56,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L56"}],"type":{"type":"literal","value":"tauri://file-drop"}},{"id":87,"name":"WINDOW_FILE_DROP_CANCELLED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":58,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L58"}],"type":{"type":"literal","value":"tauri://file-drop-cancelled"}},{"id":86,"name":"WINDOW_FILE_DROP_HOVER","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":57,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L57"}],"type":{"type":"literal","value":"tauri://file-drop-hover"}},{"id":81,"name":"WINDOW_FOCUS","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":52,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L52"}],"type":{"type":"literal","value":"tauri://focus"}},{"id":77,"name":"WINDOW_MOVED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":48,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L48"}],"type":{"type":"literal","value":"tauri://move"}},{"id":76,"name":"WINDOW_RESIZED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":47,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L47"}],"type":{"type":"literal","value":"tauri://resize"}},{"id":83,"name":"WINDOW_SCALE_FACTOR_CHANGED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":54,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L54"}],"type":{"type":"literal","value":"tauri://scale-change"}},{"id":84,"name":"WINDOW_THEME_CHANGED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":55,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L55"}],"type":{"type":"literal","value":"tauri://theme-changed"}}],"groups":[{"title":"Enumeration Members","children":[88,82,78,79,80,85,87,86,81,77,76,83,84]}],"sources":[{"fileName":"event.ts","line":46,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L46"}]},{"id":41,"name":"Event","variant":"declaration","kind":256,"flags":{},"children":[{"id":42,"name":"event","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name"}]},"sources":[{"fileName":"event.ts","line":16,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L16"}],"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":44,"name":"id","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event identifier used to unlisten"}]},"sources":[{"fileName":"event.ts","line":20,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L20"}],"type":{"type":"intrinsic","name":"number"}},{"id":45,"name":"payload","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event payload"}]},"sources":[{"fileName":"event.ts","line":22,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L22"}],"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}},{"id":43,"name":"windowLabel","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The label of the window that emitted this event."}]},"sources":[{"fileName":"event.ts","line":18,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L18"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[42,44,45,43]}],"sources":[{"fileName":"event.ts","line":14,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L14"}],"typeParameters":[{"id":46,"name":"T","variant":"typeParam","kind":131072,"flags":{}}]},{"id":56,"name":"Options","variant":"declaration","kind":256,"flags":{},"children":[{"id":57,"name":"target","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Label of the window the function targets.\n\nWhen listening to events and using this value,\nonly events triggered by the window with the given label are received.\n\nWhen emitting events, only the window with the given label will receive it."}]},"sources":[{"fileName":"event.ts","line":40,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L40"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[57]}],"sources":[{"fileName":"event.ts","line":31,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L31"}]},{"id":47,"name":"EventCallback","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"event.ts","line":25,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L25"}],"typeParameters":[{"id":51,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"type":{"type":"reflection","declaration":{"id":48,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"event.ts","line":25,"character":24,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L25"}],"signatures":[{"id":49,"name":"__type","variant":"signature","kind":4096,"flags":{},"parameters":[{"id":50,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":41,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Event","package":"@tauri-apps/api"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":55,"name":"EventName","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"event.ts","line":29,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L29"}],"type":{"type":"union","types":[{"type":"templateLiteral","head":"","tail":[[{"type":"reference","target":75,"name":"TauriEvent","package":"@tauri-apps/api"},""]]},{"type":"intersection","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"never"},{"type":"intrinsic","name":"never"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}]}]}},{"id":52,"name":"UnlistenFn","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"event.ts","line":27,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L27"}],"type":{"type":"reflection","declaration":{"id":53,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"event.ts","line":27,"character":18,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L27"}],"signatures":[{"id":54,"name":"__type","variant":"signature","kind":4096,"flags":{},"type":{"type":"intrinsic","name":"void"}}]}}},{"id":70,"name":"emit","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":164,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L164"}],"signatures":[{"id":71,"name":"emit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Emits an event to the backend and all Tauri windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { emit } from '@tauri-apps/api/event';\nawait emit('frontend-loaded', { loggedIn: true, token: 'authToken' });\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":164,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L164"}],"parameters":[{"id":72,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":73,"name":"payload","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"intrinsic","name":"unknown"}},{"id":74,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":58,"name":"listen","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":99,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L99"}],"signatures":[{"id":59,"name":"listen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an event. The event can be either global or window-specific.\nSee "},{"kind":"inline-tag","tag":"@link","text":"windowLabel","target":43,"tsLinkText":""},{"kind":"text","text":" to check the event source."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { listen } from '@tauri-apps/api/event';\nconst unlisten = await listen<string>('error', (event) => {\n console.log(`Got error in window ${event.windowLabel}, payload: ${event.payload}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":99,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L99"}],"typeParameter":[{"id":60,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":61,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":62,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler callback."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}},{"id":63,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":64,"name":"once","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":137,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L137"}],"signatures":[{"id":65,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an one-off event. See "},{"kind":"inline-tag","tag":"@link","text":"listen","target":58,"tsLinkText":""},{"kind":"text","text":" for more information."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { once } from '@tauri-apps/api/event';\ninterface LoadedPayload {\n loggedIn: boolean,\n token: string\n}\nconst unlisten = await once<LoadedPayload>('loaded', (event) => {\n console.log(`App is loaded, loggedIn: ${event.payload.loggedIn}, token: ${event.payload.token}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":137,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L137"}],"typeParameter":[{"id":66,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":67,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":68,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}},{"id":69,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[75]},{"title":"Interfaces","children":[41,56]},{"title":"Type Aliases","children":[47,55,52]},{"title":"Functions","children":[70,58,64]}],"sources":[{"fileName":"event.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/event.ts#L1"}]},{"id":89,"name":"mocks","variant":"declaration","kind":2,"flags":{},"children":[{"id":101,"name":"clearMocks","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":163,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L163"}],"signatures":[{"id":102,"name":"clearMocks","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Clears mocked functions/data injected by the other functions in this module.\nWhen using a test runner that doesn't provide a fresh window object for each test, calling this function will reset tauri specific properties.\n\n# Example\n\n"},{"kind":"code","text":"```js\nimport { mockWindows, clearMocks } from \"@tauri-apps/api/mocks\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked windows\", () => {\n mockWindows(\"main\", \"second\", \"third\");\n\n expect(window.__TAURI_INTERNALS__).toHaveProperty(\"metadata\")\n})\n\ntest(\"no mocked windows\", () => {\n expect(window.__TAURI_INTERNALS__).not.toHaveProperty(\"metadata\")\n})\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":163,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L163"}],"type":{"type":"intrinsic","name":"void"}}]},{"id":90,"name":"mockIPC","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":65,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L65"}],"signatures":[{"id":91,"name":"mockIPC","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Intercepts all IPC requests with the given mock handler.\n\nThis function can be used when testing tauri frontend applications or when running the frontend in a Node.js context during static site generation.\n\n# Examples\n\nTesting setup using vitest:\n"},{"kind":"code","text":"```js\nimport { mockIPC, clearMocks } from \"@tauri-apps/api/mocks\"\nimport { invoke } from \"@tauri-apps/api/primitives\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked command\", () => {\n mockIPC((cmd, payload) => {\n switch (cmd) {\n case \"add\":\n return (payload.a as number) + (payload.b as number);\n default:\n break;\n }\n });\n\n expect(invoke('add', { a: 12, b: 15 })).resolves.toBe(27);\n})\n```"},{"kind":"text","text":"\n\nThe callback function can also return a Promise:\n"},{"kind":"code","text":"```js\nimport { mockIPC, clearMocks } from \"@tauri-apps/api/mocks\"\nimport { invoke } from \"@tauri-apps/api/primitives\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked command\", () => {\n mockIPC((cmd, payload) => {\n if(cmd === \"get_data\") {\n return fetch(\"https://example.com/data.json\")\n .then((response) => response.json())\n }\n });\n\n expect(invoke('get_data')).resolves.toBe({ foo: 'bar' });\n})\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":65,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L65"}],"parameters":[{"id":92,"name":"cb","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":93,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"mocks.ts","line":66,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L66"}],"signatures":[{"id":94,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"mocks.ts","line":66,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L66"}],"parameters":[{"id":95,"name":"cmd","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":96,"name":"payload","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"unknown"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}}],"type":{"type":"intrinsic","name":"any"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"id":97,"name":"mockWindows","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":127,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L127"}],"signatures":[{"id":98,"name":"mockWindows","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Mocks one or many window labels.\nIn non-tauri context it is required to call this function *before* using the "},{"kind":"code","text":"`@tauri-apps/api/window`"},{"kind":"text","text":" module.\n\nThis function only mocks the *presence* of windows,\nwindow properties (e.g. width and height) can be mocked like regular IPC calls using the "},{"kind":"code","text":"`mockIPC`"},{"kind":"text","text":" function.\n\n# Examples\n\n"},{"kind":"code","text":"```js\nimport { mockWindows } from \"@tauri-apps/api/mocks\";\nimport { getCurrent } from \"@tauri-apps/api/window\";\n\nmockWindows(\"main\", \"second\", \"third\");\n\nconst win = getCurrent();\n\nwin.label // \"main\"\n```"},{"kind":"text","text":"\n\n"},{"kind":"code","text":"```js\nimport { mockWindows } from \"@tauri-apps/api/mocks\";\n\nmockWindows(\"main\", \"second\", \"third\");\n\nmockIPC((cmd, args) => {\n if (cmd === \"plugin:event|emit\") {\n console.log('emit event', args?.event, args?.payload);\n }\n});\n\nconst { emit } = await import(\"@tauri-apps/api/event\");\nawait emit('loaded'); // this will cause the mocked IPC handler to log to the console.\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":127,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L127"}],"parameters":[{"id":99,"name":"current","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Label of window this JavaScript context is running in."}]},"type":{"type":"intrinsic","name":"string"}},{"id":100,"name":"additionalWindows","variant":"param","kind":32768,"flags":{"isRest":true},"comment":{"summary":[{"kind":"text","text":"Label of additional windows the app has."}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Functions","children":[101,90,97]}],"sources":[{"fileName":"mocks.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/mocks.ts#L1"}]},{"id":103,"name":"path","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path module provides utilities for working with file and directory paths.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.path`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\n\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":104,"name":"BaseDirectory","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":120,"name":"AppCache","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L35"}],"type":{"type":"literal","value":16}},{"id":117,"name":"AppConfig","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":32,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L32"}],"type":{"type":"literal","value":13}},{"id":118,"name":"AppData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":33,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L33"}],"type":{"type":"literal","value":14}},{"id":119,"name":"AppLocalData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":34,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L34"}],"type":{"type":"literal","value":15}},{"id":121,"name":"AppLog","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":36,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L36"}],"type":{"type":"literal","value":17}},{"id":105,"name":"Audio","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":20,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L20"}],"type":{"type":"literal","value":1}},{"id":106,"name":"Cache","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":21,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L21"}],"type":{"type":"literal","value":2}},{"id":107,"name":"Config","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":22,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L22"}],"type":{"type":"literal","value":3}},{"id":108,"name":"Data","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":23,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L23"}],"type":{"type":"literal","value":4}},{"id":122,"name":"Desktop","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":38,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L38"}],"type":{"type":"literal","value":18}},{"id":110,"name":"Document","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":25,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L25"}],"type":{"type":"literal","value":6}},{"id":111,"name":"Download","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":26,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L26"}],"type":{"type":"literal","value":7}},{"id":123,"name":"Executable","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":39,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L39"}],"type":{"type":"literal","value":19}},{"id":124,"name":"Font","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":40,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L40"}],"type":{"type":"literal","value":20}},{"id":125,"name":"Home","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":41,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L41"}],"type":{"type":"literal","value":21}},{"id":109,"name":"LocalData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":24,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L24"}],"type":{"type":"literal","value":5}},{"id":112,"name":"Picture","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":27,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L27"}],"type":{"type":"literal","value":8}},{"id":113,"name":"Public","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":28,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L28"}],"type":{"type":"literal","value":9}},{"id":115,"name":"Resource","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":30,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L30"}],"type":{"type":"literal","value":11}},{"id":126,"name":"Runtime","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":42,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L42"}],"type":{"type":"literal","value":22}},{"id":116,"name":"Temp","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L31"}],"type":{"type":"literal","value":12}},{"id":127,"name":"Template","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":43,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L43"}],"type":{"type":"literal","value":23}},{"id":114,"name":"Video","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":29,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L29"}],"type":{"type":"literal","value":10}}],"groups":[{"title":"Enumeration Members","children":[120,117,118,119,121,105,106,107,108,122,110,111,123,124,125,109,112,113,115,126,116,127,114]}],"sources":[{"fileName":"path.ts","line":19,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L19"}]},{"id":134,"name":"appCacheDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":108,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L108"}],"signatures":[{"id":135,"name":"appCacheDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's cache files.\nResolves to "},{"kind":"code","text":"`${cacheDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appCacheDir } from '@tauri-apps/api/path';\nconst appCacheDirPath = await appCacheDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":108,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L108"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":128,"name":"appConfigDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":57,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L57"}],"signatures":[{"id":129,"name":"appConfigDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's config files.\nResolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appConfigDir } from '@tauri-apps/api/path';\nconst appConfigDirPath = await appConfigDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":57,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L57"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":130,"name":"appDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":74,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L74"}],"signatures":[{"id":131,"name":"appDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's data files.\nResolves to "},{"kind":"code","text":"`${dataDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":74,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L74"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":132,"name":"appLocalDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":91,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L91"}],"signatures":[{"id":133,"name":"appLocalDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's local data files.\nResolves to "},{"kind":"code","text":"`${localDataDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appLocalDataDir } from '@tauri-apps/api/path';\nconst appLocalDataDirPath = await appLocalDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":91,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L91"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":136,"name":"appLogDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":520,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L520"}],"signatures":[{"id":137,"name":"appLogDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's log files.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}/logs`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`${homeDir}/Library/Logs/{bundleIdentifier}`"},{"kind":"text","text":"\n- **Windows:** Resolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}/logs`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appLogDir } from '@tauri-apps/api/path';\nconst appLogDirPath = await appLogDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":520,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L520"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":138,"name":"audioDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":130,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L130"}],"signatures":[{"id":139,"name":"audioDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's audio directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_MUSIC_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Music`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Music}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { audioDir } from '@tauri-apps/api/path';\nconst audioDirPath = await audioDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":130,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L130"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":194,"name":"basename","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":653,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L653"}],"signatures":[{"id":195,"name":"basename","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the last portion of a "},{"kind":"code","text":"`path`"},{"kind":"text","text":". Trailing directory separators are ignored."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { basename, resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('app.conf');\nconst base = await basename(resourcePath);\nassert(base === 'app.conf');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":653,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L653"}],"parameters":[{"id":196,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":197,"name":"ext","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"An optional file extension to be removed from the returned path."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":140,"name":"cacheDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":152,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L152"}],"signatures":[{"id":141,"name":"cacheDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's cache directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_CACHE_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.cache`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Caches`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_LocalAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { cacheDir } from '@tauri-apps/api/path';\nconst cacheDirPath = await cacheDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":152,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L152"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":142,"name":"configDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":174,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L174"}],"signatures":[{"id":143,"name":"configDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's config directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_CONFIG_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.config`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_RoamingAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { configDir } from '@tauri-apps/api/path';\nconst configDirPath = await configDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":174,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L174"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":144,"name":"dataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":196,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L196"}],"signatures":[{"id":145,"name":"dataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's data directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_RoamingAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { dataDir } from '@tauri-apps/api/path';\nconst dataDirPath = await dataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":196,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L196"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":177,"name":"delimiter","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":560,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L560"}],"signatures":[{"id":178,"name":"delimiter","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the platform-specific path segment delimiter:\n- "},{"kind":"code","text":"`;`"},{"kind":"text","text":" on Windows\n- "},{"kind":"code","text":"`:`"},{"kind":"text","text":" on POSIX"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":560,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L560"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":146,"name":"desktopDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":218,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L218"}],"signatures":[{"id":147,"name":"desktopDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's desktop directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DESKTOP_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Desktop`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Desktop}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { desktopDir } from '@tauri-apps/api/path';\nconst desktopPath = await desktopDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":218,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L218"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":188,"name":"dirname","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":619,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L619"}],"signatures":[{"id":189,"name":"dirname","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the directory name of a "},{"kind":"code","text":"`path`"},{"kind":"text","text":". Trailing directory separators are ignored."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { dirname, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst dir = await dirname(appDataDirPath);\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":619,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L619"}],"parameters":[{"id":190,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":148,"name":"documentDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":240,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L240"}],"signatures":[{"id":149,"name":"documentDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's document directory."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { documentDir } from '@tauri-apps/api/path';\nconst documentDirPath = await documentDir();\n```"},{"kind":"text","text":"\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DOCUMENTS_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Documents`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Documents}`"},{"kind":"text","text":"."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":240,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L240"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":150,"name":"downloadDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":262,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L262"}],"signatures":[{"id":151,"name":"downloadDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's download directory.\n\n#### Platform-specific\n\n- **Linux**: Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DOWNLOAD_DIR`"},{"kind":"text","text":".\n- **macOS**: Resolves to "},{"kind":"code","text":"`$HOME/Downloads`"},{"kind":"text","text":".\n- **Windows**: Resolves to "},{"kind":"code","text":"`{FOLDERID_Downloads}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { downloadDir } from '@tauri-apps/api/path';\nconst downloadDirPath = await downloadDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":262,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L262"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":152,"name":"executableDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":284,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L284"}],"signatures":[{"id":153,"name":"executableDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's executable directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_BIN_HOME/../bin`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$XDG_DATA_HOME/../bin`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/bin`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { executableDir } from '@tauri-apps/api/path';\nconst executableDirPath = await executableDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":284,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L284"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":191,"name":"extname","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":635,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L635"}],"signatures":[{"id":192,"name":"extname","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the extension of the "},{"kind":"code","text":"`path`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { extname, resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('app.conf');\nconst ext = await extname(resourcePath);\nassert(ext === 'conf');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":635,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L635"}],"parameters":[{"id":193,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":154,"name":"fontDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":306,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L306"}],"signatures":[{"id":155,"name":"fontDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's font directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME/fonts`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share/fonts`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Fonts`"},{"kind":"text","text":".\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { fontDir } from '@tauri-apps/api/path';\nconst fontDirPath = await fontDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":306,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L306"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":156,"name":"homeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":328,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L328"}],"signatures":[{"id":157,"name":"homeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's home directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$HOME`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Profile}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { homeDir } from '@tauri-apps/api/path';\nconst homeDirPath = await homeDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":328,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L328"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":198,"name":"isAbsolute","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":667,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L667"}],"signatures":[{"id":199,"name":"isAbsolute","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns whether the path is absolute or not."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { isAbsolute } from '@tauri-apps/api/path';\nassert(await isAbsolute('/home/tauri'));\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":667,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L667"}],"parameters":[{"id":200,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":185,"name":"join","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":604,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L604"}],"signatures":[{"id":186,"name":"join","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Joins all given "},{"kind":"code","text":"`path`"},{"kind":"text","text":" segments together using the platform-specific separator as a delimiter, then normalizes the resulting path."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { join, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await join(appDataDirPath, 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":604,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L604"}],"parameters":[{"id":187,"name":"paths","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":158,"name":"localDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":350,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L350"}],"signatures":[{"id":159,"name":"localDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's local data directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_LocalAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { localDataDir } from '@tauri-apps/api/path';\nconst localDataDirPath = await localDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":350,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L350"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":182,"name":"normalize","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":589,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L589"}],"signatures":[{"id":183,"name":"normalize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Normalizes the given "},{"kind":"code","text":"`path`"},{"kind":"text","text":", resolving "},{"kind":"code","text":"`'..'`"},{"kind":"text","text":" and "},{"kind":"code","text":"`'.'`"},{"kind":"text","text":" segments and resolve symbolic links."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { normalize, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await normalize(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":589,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L589"}],"parameters":[{"id":184,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":160,"name":"pictureDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":372,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L372"}],"signatures":[{"id":161,"name":"pictureDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's picture directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_PICTURES_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Pictures`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Pictures}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { pictureDir } from '@tauri-apps/api/path';\nconst pictureDirPath = await pictureDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":372,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L372"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":162,"name":"publicDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":394,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L394"}],"signatures":[{"id":163,"name":"publicDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's public directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_PUBLICSHARE_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Public`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Public}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { publicDir } from '@tauri-apps/api/path';\nconst publicDirPath = await publicDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":394,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L394"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":179,"name":"resolve","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":574,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L574"}],"signatures":[{"id":180,"name":"resolve","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resolves a sequence of "},{"kind":"code","text":"`paths`"},{"kind":"text","text":" or "},{"kind":"code","text":"`path`"},{"kind":"text","text":" segments into an absolute path."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resolve, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await resolve(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":574,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L574"}],"parameters":[{"id":181,"name":"paths","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":166,"name":"resolveResource","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":431,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L431"}],"signatures":[{"id":167,"name":"resolveResource","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resolve the path to a resource file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('script.sh');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The full path to the resource."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":431,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L431"}],"parameters":[{"id":168,"name":"resourcePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path to the resource.\nMust follow the same syntax as defined in "},{"kind":"code","text":"`tauri.conf.json > tauri > bundle > resources`"},{"kind":"text","text":", i.e. keeping subfolders and parent dir components ("},{"kind":"code","text":"`../`"},{"kind":"text","text":")."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":164,"name":"resourceDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":411,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L411"}],"signatures":[{"id":165,"name":"resourceDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the application's resource directory.\nTo resolve a resource path, see the [[resolveResource | "},{"kind":"code","text":"`resolveResource API`"},{"kind":"text","text":"]]."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resourceDir } from '@tauri-apps/api/path';\nconst resourceDirPath = await resourceDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":411,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L411"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":169,"name":"runtimeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":454,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L454"}],"signatures":[{"id":170,"name":"runtimeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's runtime directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_RUNTIME_DIR`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { runtimeDir } from '@tauri-apps/api/path';\nconst runtimeDirPath = await runtimeDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":454,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L454"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":175,"name":"sep","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":549,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L549"}],"signatures":[{"id":176,"name":"sep","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the platform-specific path segment separator:\n- "},{"kind":"code","text":"`\\` on Windows\n- `"},{"kind":"text","text":"/` on POSIX"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":549,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L549"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":201,"name":"tempDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":536,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L536"}],"signatures":[{"id":202,"name":"tempDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns a temporary directory."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { tempDir } from '@tauri-apps/api/path';\nconst temp = await tempDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":536,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L536"}],"parameters":[{"id":203,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":171,"name":"templateDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":476,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L476"}],"signatures":[{"id":172,"name":"templateDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's template directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_TEMPLATES_DIR`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Templates}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { templateDir } from '@tauri-apps/api/path';\nconst templateDirPath = await templateDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":476,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L476"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":173,"name":"videoDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":498,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L498"}],"signatures":[{"id":174,"name":"videoDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's video directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_VIDEOS_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Movies`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Videos}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { videoDir } from '@tauri-apps/api/path';\nconst videoDirPath = await videoDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":498,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L498"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[104]},{"title":"Functions","children":[134,128,130,132,136,138,194,140,142,144,177,146,188,148,150,152,191,154,156,198,185,158,182,160,162,179,166,164,169,175,201,171,173]}],"sources":[{"fileName":"path.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/path.ts#L1"}]},{"id":204,"name":"primitives","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Invoke your custom commands.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.tauri`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":215,"name":"Channel","variant":"declaration","kind":128,"flags":{},"children":[{"id":216,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"primitives.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L35"}],"signatures":[{"id":217,"name":"new Channel","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"primitives.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L35"}],"typeParameter":[{"id":218,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":215,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Channel","package":"@tauri-apps/api"}}]},{"id":221,"name":"#onmessage","variant":"declaration","kind":1024,"flags":{"isPrivate":true},"sources":[{"fileName":"primitives.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L31"}],"type":{"type":"reflection","declaration":{"id":222,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":31,"character":14,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L31"}],"signatures":[{"id":223,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":31,"character":14,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L31"}],"parameters":[{"id":224,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}},"defaultValue":"..."},{"id":220,"name":"__TAURI_CHANNEL_MARKER__","variant":"declaration","kind":1024,"flags":{"isPrivate":true,"isReadonly":true},"sources":[{"fileName":"primitives.ts","line":30,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L30"}],"type":{"type":"literal","value":true},"defaultValue":"true"},{"id":219,"name":"id","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":28,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L28"}],"type":{"type":"intrinsic","name":"number"}},{"id":225,"name":"onmessage","variant":"declaration","kind":262144,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L41"},{"fileName":"primitives.ts","line":45,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L45"}],"getSignature":{"id":226,"name":"onmessage","variant":"signature","kind":524288,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L45"}],"type":{"type":"reflection","declaration":{"id":227,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L45"}],"signatures":[{"id":228,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L45"}],"parameters":[{"id":229,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}},"setSignature":{"id":230,"name":"onmessage","variant":"signature","kind":1048576,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L41"}],"parameters":[{"id":231,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":232,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":25,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L41"}],"signatures":[{"id":233,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":25,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L41"}],"parameters":[{"id":234,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"intrinsic","name":"void"}}},{"id":235,"name":"toJSON","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"primitives.ts","line":49,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L49"}],"signatures":[{"id":236,"name":"toJSON","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":49,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L49"}],"type":{"type":"intrinsic","name":"string"}}]}],"groups":[{"title":"Constructors","children":[216]},{"title":"Properties","children":[221,220,219]},{"title":"Accessors","children":[225]},{"title":"Methods","children":[235]}],"sources":[{"fileName":"primitives.ts","line":27,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L27"}],"typeParameters":[{"id":237,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}]},{"id":238,"name":"PluginListener","variant":"declaration","kind":128,"flags":{},"children":[{"id":239,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"primitives.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L59"}],"signatures":[{"id":240,"name":"new PluginListener","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"primitives.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L59"}],"parameters":[{"id":241,"name":"plugin","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":242,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":243,"name":"channelId","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":238,"name":"PluginListener","package":"@tauri-apps/api"}}]},{"id":246,"name":"channelId","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":57,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L57"}],"type":{"type":"intrinsic","name":"number"}},{"id":245,"name":"event","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":56,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L56"}],"type":{"type":"intrinsic","name":"string"}},{"id":244,"name":"plugin","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":55,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L55"}],"type":{"type":"intrinsic","name":"string"}},{"id":247,"name":"unregister","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"primitives.ts","line":65,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L65"}],"signatures":[{"id":248,"name":"unregister","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":65,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L65"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Constructors","children":[239]},{"title":"Properties","children":[246,245,244]},{"title":"Methods","children":[247]}],"sources":[{"fileName":"primitives.ts","line":54,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L54"}]},{"id":206,"name":"InvokeOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":207,"name":"headers","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":103,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L103"}],"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"string"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.dom.d.ts","qualifiedName":"Headers"},"name":"Headers","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/API/Headers"}]}}],"groups":[{"title":"Properties","children":[207]}],"sources":[{"fileName":"primitives.ts","line":102,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L102"}]},{"id":205,"name":"InvokeArgs","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"Command arguments."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":97,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L97"}],"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"unknown"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"ArrayBuffer"},"name":"ArrayBuffer","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}]}},{"id":249,"name":"addPluginListener","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":80,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L80"}],"signatures":[{"id":250,"name":"addPluginListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds a listener to a plugin event."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"The listener object to stop listening to the events."}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":80,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L80"}],"typeParameter":[{"id":251,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":252,"name":"plugin","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":253,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":254,"name":"cb","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":255,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":83,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L83"}],"signatures":[{"id":256,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":83,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L83"}],"parameters":[{"id":257,"name":"payload","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":238,"name":"PluginListener","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":264,"name":"convertFileSrc","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":159,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L159"}],"signatures":[{"id":265,"name":"convertFileSrc","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Convert a device file path to an URL that can be loaded by the webview.\nNote that "},{"kind":"code","text":"`asset:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`http://asset.localhost`"},{"kind":"text","text":" must be added to ["},{"kind":"code","text":"`tauri.security.csp`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#securityconfig.csp) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":".\nExample CSP value: "},{"kind":"code","text":"`\"csp\": \"default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost\"`"},{"kind":"text","text":" to use the asset protocol on image sources.\n\nAdditionally, "},{"kind":"code","text":"`asset`"},{"kind":"text","text":" must be added to ["},{"kind":"code","text":"`tauri.allowlist.protocol`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.protocol)\nin "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" and its access scope must be defined on the "},{"kind":"code","text":"`assetScope`"},{"kind":"text","text":" array on the same "},{"kind":"code","text":"`protocol`"},{"kind":"text","text":" object."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appDataDir, join } from '@tauri-apps/api/path';\nimport { convertFileSrc } from '@tauri-apps/api/primitives';\nconst appDataDirPath = await appDataDir();\nconst filePath = await join(appDataDirPath, 'assets/video.mp4');\nconst assetUrl = convertFileSrc(filePath);\n\nconst video = document.getElementById('my-video');\nconst source = document.createElement('source');\nsource.type = 'video/mp4';\nsource.src = assetUrl;\nvideo.appendChild(source);\nvideo.load();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"the URL that can be used as source on the webview."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":159,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L159"}],"parameters":[{"id":266,"name":"filePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file path."}]},"type":{"type":"intrinsic","name":"string"}},{"id":267,"name":"protocol","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The protocol to use. Defaults to "},{"kind":"code","text":"`asset`"},{"kind":"text","text":". You only need to set this when using a custom protocol."}]},"type":{"type":"intrinsic","name":"string"},"defaultValue":"'asset'"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":258,"name":"invoke","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":121,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L121"}],"signatures":[{"id":259,"name":"invoke","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sends a message to the backend."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { invoke } from '@tauri-apps/api/primitives';\nawait invoke('login', { user: 'tauri', password: 'poiwe3h4r5ip3yrhtew9ty' });\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving or rejecting to the backend response."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":121,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L121"}],"typeParameter":[{"id":260,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":261,"name":"cmd","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The command name."}]},"type":{"type":"intrinsic","name":"string"}},{"id":262,"name":"args","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The optional arguments to pass to the command."}]},"type":{"type":"reference","target":205,"name":"InvokeArgs","package":"@tauri-apps/api"},"defaultValue":"{}"},{"id":263,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The request options."}]},"type":{"type":"reference","target":206,"name":"InvokeOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":208,"name":"transformCallback","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":20,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L20"}],"signatures":[{"id":209,"name":"transformCallback","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Transforms a callback function to a string identifier that can be passed to the backend.\nThe backend uses the identifier to "},{"kind":"code","text":"`eval()`"},{"kind":"text","text":" the callback."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A unique identifier associated with the callback function."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":20,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L20"}],"parameters":[{"id":210,"name":"callback","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"id":211,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":21,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L21"}],"signatures":[{"id":212,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":21,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L21"}],"parameters":[{"id":213,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":214,"name":"once","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"}],"type":{"type":"intrinsic","name":"number"}}]}],"groups":[{"title":"Classes","children":[215,238]},{"title":"Interfaces","children":[206]},{"title":"Type Aliases","children":[205]},{"title":"Functions","children":[249,264,258,208]}],"sources":[{"fileName":"primitives.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/primitives.ts#L1"}]},{"id":268,"name":"window","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Provides APIs to create windows, communicate with other windows and manipulate the current window.\n\n## Window events\n\nEvents can be listened to using "},{"kind":"inline-tag","tag":"@link","text":"listen","target":302},{"kind":"text","text":":\n"},{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\ngetCurrent().listen(\"my-window-event\", ({ event, payload }) => { });\n```"}]},"children":[{"id":600,"name":"LogicalPosition","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2150,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2150"}],"target":2},{"id":598,"name":"LogicalSize","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2148,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2148"}],"target":10},{"id":601,"name":"PhysicalPosition","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2151,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2151"}],"target":18},{"id":599,"name":"PhysicalSize","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2149,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2149"}],"target":29},{"id":497,"name":"Effect","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Platform-specific window effects"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":519,"name":"Acrylic","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 10/11**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 10 v1903+ and Windows 11 build 22000."}]},"sources":[{"fileName":"window.ts","line":1883,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1883"}],"type":{"type":"literal","value":"acrylic"}},{"id":498,"name":"AppearanceBased","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"A default material appropriate for the view's effectiveAppearance. **macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. You should instead choose an appropriate semantic material."}]}]},"sources":[{"fileName":"window.ts","line":1783,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1783"}],"type":{"type":"literal","value":"appearanceBased"}},{"id":518,"name":"Blur","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 7/10/11(22H1) Only**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 11 build 22621."}]},"sources":[{"fileName":"window.ts","line":1875,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1875"}],"type":{"type":"literal","value":"blur"}},{"id":514,"name":"ContentBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1855,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1855"}],"type":{"type":"literal","value":"contentBackground"}},{"id":500,"name":"Dark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1795,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1795"}],"type":{"type":"literal","value":"dark"}},{"id":512,"name":"FullScreenUI","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1847,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1847"}],"type":{"type":"literal","value":"fullScreenUI"}},{"id":508,"name":"HeaderView","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1831,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1831"}],"type":{"type":"literal","value":"headerView"}},{"id":511,"name":"HudWindow","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1843,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1843"}],"type":{"type":"literal","value":"hudWindow"}},{"id":499,"name":"Light","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1789,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1789"}],"type":{"type":"literal","value":"light"}},{"id":501,"name":"MediumLight","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1801,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1801"}],"type":{"type":"literal","value":"mediumLight"}},{"id":505,"name":"Menu","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1819,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1819"}],"type":{"type":"literal","value":"menu"}},{"id":517,"name":"Mica","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1867,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1867"}],"type":{"type":"literal","value":"mica"}},{"id":506,"name":"Popover","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1823,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1823"}],"type":{"type":"literal","value":"popover"}},{"id":504,"name":"Selection","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.10+**"}]},"sources":[{"fileName":"window.ts","line":1815,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1815"}],"type":{"type":"literal","value":"selection"}},{"id":509,"name":"Sheet","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1835,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1835"}],"type":{"type":"literal","value":"sheet"}},{"id":507,"name":"Sidebar","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1827,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1827"}],"type":{"type":"literal","value":"sidebar"}},{"id":520,"name":"Tabbed","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect that matches the system dark perefence **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1887,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1887"}],"type":{"type":"literal","value":"tabbed"}},{"id":521,"name":"TabbedDark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect with dark mode but only if dark mode is enabled on the system **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1891,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1891"}],"type":{"type":"literal","value":"tabbedDark"}},{"id":522,"name":"TabbedLight","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect with light mode **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1895,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1895"}],"type":{"type":"literal","value":"tabbedLight"}},{"id":503,"name":"Titlebar","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.10+**"}]},"sources":[{"fileName":"window.ts","line":1811,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1811"}],"type":{"type":"literal","value":"titlebar"}},{"id":513,"name":"Tooltip","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1851,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1851"}],"type":{"type":"literal","value":"tooltip"}},{"id":502,"name":"UltraDark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1807,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1807"}],"type":{"type":"literal","value":"ultraDark"}},{"id":516,"name":"UnderPageBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1863,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1863"}],"type":{"type":"literal","value":"underPageBackground"}},{"id":515,"name":"UnderWindowBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1859,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1859"}],"type":{"type":"literal","value":"underWindowBackground"}},{"id":510,"name":"WindowBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1839,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1839"}],"type":{"type":"literal","value":"windowBackground"}}],"groups":[{"title":"Enumeration Members","children":[519,498,518,514,500,512,508,511,499,501,505,517,506,504,509,507,520,521,522,503,513,502,516,515,510]}],"sources":[{"fileName":"window.ts","line":1777,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1777"}]},{"id":523,"name":"EffectState","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Window effect state **macOS only**"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":"https://developer.apple.com/documentation/appkit/nsvisualeffectview/state"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":525,"name":"Active","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state always active **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1913,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1913"}],"type":{"type":"literal","value":"active"}},{"id":524,"name":"FollowsWindowActiveState","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state follow the window's active state **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1909,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1909"}],"type":{"type":"literal","value":"followsWindowActiveState"}},{"id":526,"name":"Inactive","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state always inactive **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1917,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1917"}],"type":{"type":"literal","value":"inactive"}}],"groups":[{"title":"Enumeration Members","children":[525,524,526]}],"sources":[{"fileName":"window.ts","line":1905,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1905"}]},{"id":275,"name":"ProgressBarStatus","variant":"declaration","kind":8,"flags":{},"children":[{"id":280,"name":"Error","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Error state. **Treated as Normal on linux**"}]},"sources":[{"fileName":"window.ts","line":171,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L171"}],"type":{"type":"literal","value":"error"}},{"id":278,"name":"Indeterminate","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Indeterminate state. **Treated as Normal on Linux and macOS**"}]},"sources":[{"fileName":"window.ts","line":163,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L163"}],"type":{"type":"literal","value":"indeterminate"}},{"id":276,"name":"None","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Hide progress bar."}]},"sources":[{"fileName":"window.ts","line":155,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L155"}],"type":{"type":"literal","value":"none"}},{"id":277,"name":"Normal","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Normal state."}]},"sources":[{"fileName":"window.ts","line":159,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L159"}],"type":{"type":"literal","value":"normal"}},{"id":279,"name":"Paused","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Paused state. **Treated as Normal on Linux**"}]},"sources":[{"fileName":"window.ts","line":167,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L167"}],"type":{"type":"literal","value":"paused"}}],"groups":[{"title":"Enumeration Members","children":[280,278,276,277,279]}],"sources":[{"fileName":"window.ts","line":151,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L151"}]},{"id":494,"name":"UserAttentionType","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Attention type to request on a window."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":495,"name":"Critical","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"#### Platform-specific\n- **macOS:** Bounces the dock icon until the application is in focus.\n- **Windows:** Flashes both the window and the taskbar button until the application is in focus."}]},"sources":[{"fileName":"window.ts","line":77,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L77"}],"type":{"type":"literal","value":1}},{"id":496,"name":"Informational","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"#### Platform-specific\n- **macOS:** Bounces the dock icon once.\n- **Windows:** Flashes the taskbar button until the application is in focus."}]},"sources":[{"fileName":"window.ts","line":83,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L83"}],"type":{"type":"literal","value":2}}],"groups":[{"title":"Enumeration Members","children":[495,496]}],"sources":[{"fileName":"window.ts","line":71,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L71"}]},{"id":478,"name":"CloseRequestedEvent","variant":"declaration","kind":128,"flags":{},"children":[{"id":479,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":95,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L95"}],"signatures":[{"id":480,"name":"new CloseRequestedEvent","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":95,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L95"}],"parameters":[{"id":481,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":41,"typeArguments":[{"type":"literal","value":null}],"name":"Event","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":478,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}]},{"id":485,"name":"_preventDefault","variant":"declaration","kind":1024,"flags":{"isPrivate":true},"sources":[{"fileName":"window.ts","line":93,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L93"}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"},{"id":482,"name":"event","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name"}]},"sources":[{"fileName":"window.ts","line":88,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L88"}],"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":484,"name":"id","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event identifier used to unlisten"}]},"sources":[{"fileName":"window.ts","line":92,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L92"}],"type":{"type":"intrinsic","name":"number"}},{"id":483,"name":"windowLabel","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The label of the window that emitted this event."}]},"sources":[{"fileName":"window.ts","line":90,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L90"}],"type":{"type":"intrinsic","name":"string"}},{"id":488,"name":"isPreventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L105"}],"signatures":[{"id":489,"name":"isPreventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L105"}],"type":{"type":"intrinsic","name":"boolean"}}]},{"id":486,"name":"preventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L101"}],"signatures":[{"id":487,"name":"preventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L101"}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Constructors","children":[479]},{"title":"Properties","children":[485,482,484,483]},{"title":"Methods","children":[488,486]}],"sources":[{"fileName":"window.ts","line":86,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L86"}]},{"id":286,"name":"Window","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"Create new webview window or get a handle to an existing one.\n\nWindows are identified by a *label* a unique identifier that can be used to reference it later.\nIt may only contain alphanumeric characters "},{"kind":"code","text":"`a-zA-Z`"},{"kind":"text","text":" plus the following special characters "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\n// loading embedded asset:\nconst appWindow = new Window('theUniqueLabel', {\n url: 'path/to/page.html'\n});\n// alternatively, load a remote URL:\nconst appWindow = new Window('theUniqueLabel', {\n url: 'https://github.com/tauri-apps/tauri'\n});\n\nappWindow.once('tauri://created', function () {\n // window successfully created\n});\nappWindow.once('tauri://error', function (e) {\n // an error happened creating the window\n});\n\n// emit an event to the backend\nawait appWindow.emit(\"some event\", \"data\");\n// listen to an event from the backend\nconst unlisten = await appWindow.listen(\"event name\", e => {});\nunlisten();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":296,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":281,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L281"}],"signatures":[{"id":297,"name":"new Window","variant":"signature","kind":16384,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new Window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst appWindow = new Window('my-label', {\n url: 'https://github.com/tauri-apps/tauri'\n});\nappWindow.once('tauri://created', function () {\n // window successfully created\n});\nappWindow.once('tauri://error', function (e) {\n // an error happened creating the window\n});\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The "},{"kind":"inline-tag","tag":"@link","text":"Window","target":286,"tsLinkText":""},{"kind":"text","text":" instance to communicate with the webview."}]}]},"sources":[{"fileName":"window.ts","line":281,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L281"}],"parameters":[{"id":298,"name":"label","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The unique webview window label. Must be alphanumeric: "},{"kind":"code","text":"`a-zA-Z-/:_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":299,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":552,"name":"WindowOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}]},{"id":300,"name":"label","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The window label. It is a unique identifier for the window, can be used to reference it later."}]},"sources":[{"fileName":"window.ts","line":257,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L257"}],"type":{"type":"intrinsic","name":"string"}},{"id":301,"name":"listeners","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Local event listeners."}]},"sources":[{"fileName":"window.ts","line":260,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L260"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":355,"name":"center","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":760,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L760"}],"signatures":[{"id":356,"name":"center","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Centers the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().center();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":760,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L760"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":400,"name":"clearEffects","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1093,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1093"}],"signatures":[{"id":401,"name":"clearEffects","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Clear any applied effects if possible."}]},"sources":[{"fileName":"window.ts","line":1093,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1093"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":389,"name":"close","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1030,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1030"}],"signatures":[{"id":390,"name":"close","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Closes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().close();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1030,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1030"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":312,"name":"emit","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":425,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L425"}],"signatures":[{"id":313,"name":"emit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Emits an event to the backend, tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().emit('window-loaded', { loggedIn: true, token: 'authToken' });\n```"}]}]},"sources":[{"fileName":"window.ts","line":425,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L425"}],"parameters":[{"id":314,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":315,"name":"payload","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Event payload."}]},"type":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":387,"name":"hide","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1014,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1014"}],"signatures":[{"id":388,"name":"hide","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window visibility to false."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().hide();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1014,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1014"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":323,"name":"innerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":478,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L478"}],"signatures":[{"id":324,"name":"innerPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The position of the top-left hand corner of the window's client area relative to the top-left hand corner of the desktop."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst position = await getCurrent().innerPosition();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's inner position."}]}]},"sources":[{"fileName":"window.ts","line":478,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L478"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":327,"name":"innerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":511,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L511"}],"signatures":[{"id":328,"name":"innerSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The physical size of the window's client area.\nThe client area is the content of the window, excluding the title bar and borders."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst size = await getCurrent().innerSize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's inner size."}]}]},"sources":[{"fileName":"window.ts","line":511,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L511"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":347,"name":"isClosable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":691,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L691"}],"signatures":[{"id":348,"name":"isClosable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native close button state.\n\n#### Platform-specific\n\n- **iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst closable = await getCurrent().isClosable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native close button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":691,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L691"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":339,"name":"isDecorated","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":612,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L612"}],"signatures":[{"id":340,"name":"isDecorated","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current decorated state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst decorated = await getCurrent().isDecorated();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is decorated or not."}]}]},"sources":[{"fileName":"window.ts","line":612,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L612"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":337,"name":"isFocused","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":596,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L596"}],"signatures":[{"id":338,"name":"isFocused","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current focus state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst focused = await getCurrent().isFocused();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is focused or not."}]}]},"sources":[{"fileName":"window.ts","line":596,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L596"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":331,"name":"isFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":550,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L550"}],"signatures":[{"id":332,"name":"isFullscreen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current fullscreen state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst fullscreen = await getCurrent().isFullscreen();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is in fullscreen mode or not."}]}]},"sources":[{"fileName":"window.ts","line":550,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L550"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":343,"name":"isMaximizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":649,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L649"}],"signatures":[{"id":344,"name":"isMaximizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native maximize button state.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst maximizable = await getCurrent().isMaximizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native maximize button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":649,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L649"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":335,"name":"isMaximized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":580,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L580"}],"signatures":[{"id":336,"name":"isMaximized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current maximized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst maximized = await getCurrent().isMaximized();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is maximized or not."}]}]},"sources":[{"fileName":"window.ts","line":580,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L580"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":345,"name":"isMinimizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":670,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L670"}],"signatures":[{"id":346,"name":"isMinimizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native minimize button state.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst minimizable = await getCurrent().isMinimizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native minimize button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":670,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L670"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":333,"name":"isMinimized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":564,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L564"}],"signatures":[{"id":334,"name":"isMinimized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current minimized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst minimized = await getCurrent().isMinimized();\n```"}]}]},"sources":[{"fileName":"window.ts","line":564,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L564"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":341,"name":"isResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":628,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L628"}],"signatures":[{"id":342,"name":"isResizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current resizable state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst resizable = await getCurrent().isResizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is resizable or not."}]}]},"sources":[{"fileName":"window.ts","line":628,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L628"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":349,"name":"isVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":707,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L707"}],"signatures":[{"id":350,"name":"isVisible","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current visible state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst visible = await getCurrent().isVisible();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is visible or not."}]}]},"sources":[{"fileName":"window.ts","line":707,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L707"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":302,"name":"listen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":370,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L370"}],"signatures":[{"id":303,"name":"listen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an event emitted by the backend that is tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst unlisten = await getCurrent().listen<string>('state-changed', (event) => {\n console.log(`Got error: ${payload}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":370,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L370"}],"typeParameter":[{"id":304,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":305,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":306,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":375,"name":"maximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":918,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L918"}],"signatures":[{"id":376,"name":"maximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Maximizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().maximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":918,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L918"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":381,"name":"minimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":966,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L966"}],"signatures":[{"id":382,"name":"minimize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Minimizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().minimize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":966,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L966"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":457,"name":"onCloseRequested","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1586,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1586"}],"signatures":[{"id":458,"name":"onCloseRequested","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window close requested. Emitted when the user requests to closes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nimport { confirm } from '@tauri-apps/api/dialog';\nconst unlisten = await getCurrent().onCloseRequested(async (event) => {\n const confirmed = await confirm('Are you sure?');\n if (!confirmed) {\n // user did not confirm closing the window; let's prevent it\n event.preventDefault();\n }\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1586,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1586"}],"parameters":[{"id":459,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":460,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"window.ts","line":1587,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1587"}],"signatures":[{"id":461,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":1587,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1587"}],"parameters":[{"id":462,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":478,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}]}}]}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":472,"name":"onFileDropEvent","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1712,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1712"}],"signatures":[{"id":473,"name":"onFileDropEvent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to a file drop event.\nThe listener is triggered when the user hovers the selected files on the window,\ndrops the files or cancels the operation."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onFileDropEvent((event) => {\n if (event.payload.type === 'hover') {\n console.log('User hovering', event.payload.paths);\n } else if (event.payload.type === 'drop') {\n console.log('User dropped', event.payload.paths);\n } else {\n console.log('File drop cancelled');\n }\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1712,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1712"}],"parameters":[{"id":474,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":543,"name":"FileDropEvent","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":463,"name":"onFocusChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1617,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1617"}],"signatures":[{"id":464,"name":"onFocusChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window focus change."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onFocusChanged(({ payload: focused }) => {\n console.log('Focus changed, window is focused? ' + focused);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1617,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1617"}],"parameters":[{"id":465,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":469,"name":"onMenuClicked","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1683,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1683"}],"signatures":[{"id":470,"name":"onMenuClicked","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to the window menu item click. The payload is the item id."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onMenuClicked(({ payload: menuId }) => {\n console.log('Menu clicked: ' + menuId);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1683,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1683"}],"parameters":[{"id":471,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":454,"name":"onMoved","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1556,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1556"}],"signatures":[{"id":455,"name":"onMoved","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window move."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onMoved(({ payload: position }) => {\n console.log('Window moved', position);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1556,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1556"}],"parameters":[{"id":456,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":451,"name":"onResized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1532,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1532"}],"signatures":[{"id":452,"name":"onResized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window resize."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onResized(({ payload: size }) => {\n console.log('Window resized', size);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1532,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1532"}],"parameters":[{"id":453,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":466,"name":"onScaleChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1657,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1657"}],"signatures":[{"id":467,"name":"onScaleChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window scale change. Emitted when the window's scale factor has changed.\nThe following user actions can cause DPI changes:\n- Changing the display's resolution.\n- Changing the display's scale factor (e.g. in Control Panel on Windows).\n- Moving the window to a display with a different scale factor."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onScaleChanged(({ payload }) => {\n console.log('Scale changed', payload.scaleFactor, payload.size);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1657,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1657"}],"parameters":[{"id":468,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":540,"name":"ScaleFactorChanged","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":475,"name":"onThemeChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1760,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1760"}],"signatures":[{"id":476,"name":"onThemeChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to the system theme change."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onThemeChanged(({ payload: theme }) => {\n console.log('New theme: ' + theme);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1760,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1760"}],"parameters":[{"id":477,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":538,"name":"Theme","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":307,"name":"once","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":403,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L403"}],"signatures":[{"id":308,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an one-off event emitted by the backend that is tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst unlisten = await getCurrent().once<null>('initialized', (event) => {\n console.log(`Window initialized!`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":403,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L403"}],"typeParameter":[{"id":309,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":310,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":311,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":325,"name":"outerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":494,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L494"}],"signatures":[{"id":326,"name":"outerPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The position of the top-left hand corner of the window relative to the top-left hand corner of the desktop."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst position = await getCurrent().outerPosition();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's outer position."}]}]},"sources":[{"fileName":"window.ts","line":494,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L494"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":329,"name":"outerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":531,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L531"}],"signatures":[{"id":330,"name":"outerSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The physical size of the entire window.\nThese dimensions include the title bar and borders. If you don't want that (and you usually don't), use inner_size instead."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst size = await getCurrent().outerSize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's outer size."}]}]},"sources":[{"fileName":"window.ts","line":531,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L531"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":357,"name":"requestUserAttention","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":786,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L786"}],"signatures":[{"id":358,"name":"requestUserAttention","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Requests user attention to the window, this has no effect if the application\nis already focused. How requesting for user attention manifests is platform dependent,\nsee "},{"kind":"code","text":"`UserAttentionType`"},{"kind":"text","text":" for details.\n\nProviding "},{"kind":"code","text":"`null`"},{"kind":"text","text":" will unset the request for user attention. Unsetting the request for\nuser attention might not be done automatically by the WM when the window receives input.\n\n#### Platform-specific\n\n- **macOS:** "},{"kind":"code","text":"`null`"},{"kind":"text","text":" has no effect.\n- **Linux:** Urgency levels have the same effect."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().requestUserAttention();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":786,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L786"}],"parameters":[{"id":359,"name":"requestType","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":494,"name":"UserAttentionType","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":321,"name":"scaleFactor","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":462,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L462"}],"signatures":[{"id":322,"name":"scaleFactor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The scale factor that can be used to map physical pixels to logical pixels."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst factor = await getCurrent().scaleFactor();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's monitor scale factor."}]}]},"sources":[{"fileName":"window.ts","line":462,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L462"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"number"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":402,"name":"setAlwaysOnTop","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1111,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1111"}],"signatures":[{"id":403,"name":"setAlwaysOnTop","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setAlwaysOnTop(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1111,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1111"}],"parameters":[{"id":404,"name":"alwaysOnTop","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":369,"name":"setClosable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":883,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L883"}],"signatures":[{"id":370,"name":"setClosable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native close button is enabled or not.\n\n#### Platform-specific\n\n- **Linux:** GTK+ will do its best to convince the window manager not to show a close button. Depending on the system, this function may not have any effect when called on a window that is already visible\n- **iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setClosable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":883,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L883"}],"parameters":[{"id":371,"name":"closable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":405,"name":"setContentProtected","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1128,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1128"}],"signatures":[{"id":406,"name":"setContentProtected","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Prevents the window contents from being captured by other apps."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setContentProtected(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1128,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1128"}],"parameters":[{"id":407,"name":"protected_","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":431,"name":"setCursorGrab","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1368,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1368"}],"signatures":[{"id":432,"name":"setCursorGrab","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Grabs the cursor, preventing it from leaving the window.\n\nThere's no guarantee that the cursor will be hidden. You should\nhide it by yourself if you want so.\n\n#### Platform-specific\n\n- **Linux:** Unsupported.\n- **macOS:** This locks the cursor in a fixed location, which looks visually awkward."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorGrab(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1368,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1368"}],"parameters":[{"id":433,"name":"grab","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"code","text":"`true`"},{"kind":"text","text":" to grab the cursor icon, "},{"kind":"code","text":"`false`"},{"kind":"text","text":" to release it."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":437,"name":"setCursorIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1410,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1410"}],"signatures":[{"id":438,"name":"setCursorIcon","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Modifies the cursor icon of the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorIcon('help');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1410,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1410"}],"parameters":[{"id":439,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor icon."}]},"type":{"type":"reference","target":274,"name":"CursorIcon","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":440,"name":"setCursorPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1428,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1428"}],"signatures":[{"id":441,"name":"setCursorPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Changes the position of the cursor in window coordinates."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalPosition } from '@tauri-apps/api/window';\nawait getCurrent().setCursorPosition(new LogicalPosition(600, 300));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1428,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1428"}],"parameters":[{"id":442,"name":"position","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor position."}]},"type":{"type":"union","types":[{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"},{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":434,"name":"setCursorVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1392,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1392"}],"signatures":[{"id":435,"name":"setCursorVisible","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Modifies the cursor's visibility.\n\n#### Platform-specific\n\n- **Windows:** The cursor is only hidden within the confines of the window.\n- **macOS:** The cursor is hidden as long as the window has input focus, even if the cursor is\n outside of the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorVisible(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1392,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1392"}],"parameters":[{"id":436,"name":"visible","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`false`"},{"kind":"text","text":", this will hide the cursor. If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", this will show the cursor."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":391,"name":"setDecorations","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1047,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1047"}],"signatures":[{"id":392,"name":"setDecorations","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setDecorations(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1047,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1047"}],"parameters":[{"id":393,"name":"decorations","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":397,"name":"setEffects","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1083,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1083"}],"signatures":[{"id":398,"name":"setEffects","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Set window effects."}]},"sources":[{"fileName":"window.ts","line":1083,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1083"}],"parameters":[{"id":399,"name":"effects","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":533,"name":"Effects","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":423,"name":"setFocus","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1296,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1296"}],"signatures":[{"id":424,"name":"setFocus","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Bring the window to front and focus."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setFocus();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1296,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1296"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":420,"name":"setFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1279,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1279"}],"signatures":[{"id":421,"name":"setFullscreen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window fullscreen state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setFullscreen(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1279,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1279"}],"parameters":[{"id":422,"name":"fullscreen","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should go to fullscreen or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":425,"name":"setIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1320,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1320"}],"signatures":[{"id":426,"name":"setIcon","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window icon."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setIcon('/tauri/awesome.png');\n```"},{"kind":"text","text":"\n\nNote that you need the "},{"kind":"code","text":"`icon-ico`"},{"kind":"text","text":" or "},{"kind":"code","text":"`icon-png`"},{"kind":"text","text":" Cargo features to use this API.\nTo enable it, change your Cargo.toml file:\n"},{"kind":"code","text":"```toml\n[dependencies]\ntauri = { version = \"...\", features = [\"...\", \"icon-png\"] }\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1320,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1320"}],"parameters":[{"id":427,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Icon bytes or path to the icon file."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":443,"name":"setIgnoreCursorEvents","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1464,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1464"}],"signatures":[{"id":444,"name":"setIgnoreCursorEvents","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Changes the cursor events behavior."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setIgnoreCursorEvents(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1464,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1464"}],"parameters":[{"id":445,"name":"ignore","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"code","text":"`true`"},{"kind":"text","text":" to ignore the cursor events; "},{"kind":"code","text":"`false`"},{"kind":"text","text":" to process them as usual."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":414,"name":"setMaxSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1210,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1210"}],"signatures":[{"id":415,"name":"setMaxSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window maximum inner size. If the "},{"kind":"code","text":"`size`"},{"kind":"text","text":" argument is undefined, the constraint is unset."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setMaxSize(new LogicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1210,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1210"}],"parameters":[{"id":416,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size, or "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to unset the constraint."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"literal","value":null},{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":363,"name":"setMaximizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":838,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L838"}],"signatures":[{"id":364,"name":"setMaximizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native maximize button is enabled or not.\nIf resizable is set to false, this setting is ignored.\n\n#### Platform-specific\n\n- **macOS:** Disables the \"zoom\" button in the window titlebar, which is also used to enter fullscreen mode.\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setMaximizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":838,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L838"}],"parameters":[{"id":365,"name":"maximizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":411,"name":"setMinSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1176,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1176"}],"signatures":[{"id":412,"name":"setMinSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window minimum inner size. If the "},{"kind":"code","text":"`size`"},{"kind":"text","text":" argument is not provided, the constraint is unset."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, PhysicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setMinSize(new PhysicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1176,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1176"}],"parameters":[{"id":413,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size, or "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to unset the constraint."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"literal","value":null},{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":366,"name":"setMinimizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":860,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L860"}],"signatures":[{"id":367,"name":"setMinimizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native minimize button is enabled or not.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setMinimizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":860,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L860"}],"parameters":[{"id":368,"name":"minimizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":417,"name":"setPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1244,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1244"}],"signatures":[{"id":418,"name":"setPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window outer position."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalPosition } from '@tauri-apps/api/window';\nawait getCurrent().setPosition(new LogicalPosition(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1244,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1244"}],"parameters":[{"id":419,"name":"position","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new position, in logical or physical pixels."}]},"type":{"type":"union","types":[{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"},{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":448,"name":"setProgressBar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1506,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1506"}],"signatures":[{"id":449,"name":"setProgressBar","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the taskbar progress state.\n\n#### Platform-specific\n\n- **Linux / macOS**: Progress bar is app-wide and not specific to this window.\n- **Linux**: Only supported desktop environments with "},{"kind":"code","text":"`libunity`"},{"kind":"text","text":" (e.g. GNOME)."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, ProgressBarStatus } from '@tauri-apps/api/window';\nawait getCurrent().setProgressBar({\n status: ProgressBarStatus.Normal,\n progress: 50,\n});\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1506,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1506"}],"parameters":[{"id":450,"name":"state","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":281,"name":"ProgressBarState","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":360,"name":"setResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":814,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L814"}],"signatures":[{"id":361,"name":"setResizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Updates the window resizable flag."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setResizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":814,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L814"}],"parameters":[{"id":362,"name":"resizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":394,"name":"setShadow","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1073,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1073"}],"signatures":[{"id":395,"name":"setShadow","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether or not the window should have shadow.\n\n#### Platform-specific\n\n- **Windows:**\n - "},{"kind":"code","text":"`false`"},{"kind":"text","text":" has no effect on decorated window, shadows are always ON.\n - "},{"kind":"code","text":"`true`"},{"kind":"text","text":" will make ndecorated window have a 1px white border,\nand on Windows 11, it will have a rounded corners.\n- **Linux:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setShadow(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1073,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1073"}],"parameters":[{"id":396,"name":"enable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":408,"name":"setSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1146,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1146"}],"signatures":[{"id":409,"name":"setSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resizes the window with a new inner size."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setSize(new LogicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1146,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1146"}],"parameters":[{"id":410,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size."}]},"type":{"type":"union","types":[{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":428,"name":"setSkipTaskbar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1342,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1342"}],"signatures":[{"id":429,"name":"setSkipTaskbar","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window icon should be hidden from the taskbar or not.\n\n#### Platform-specific\n\n- **macOS:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setSkipTaskbar(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1342,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1342"}],"parameters":[{"id":430,"name":"skip","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"true to hide window icon, false to show it."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":372,"name":"setTitle","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":901,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L901"}],"signatures":[{"id":373,"name":"setTitle","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window title."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setTitle('Tauri');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":901,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L901"}],"parameters":[{"id":374,"name":"title","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new title"}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":385,"name":"show","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":998,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L998"}],"signatures":[{"id":386,"name":"show","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window visibility to true."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().show();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":998,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L998"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":446,"name":"startDragging","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1481,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1481"}],"signatures":[{"id":447,"name":"startDragging","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Starts dragging the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().startDragging();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1481,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1481"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":353,"name":"theme","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":742,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L742"}],"signatures":[{"id":354,"name":"theme","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current theme.\n\n#### Platform-specific\n\n- **macOS:** Theme was introduced on macOS 10.14. Returns "},{"kind":"code","text":"`light`"},{"kind":"text","text":" on macOS 10.13 and below."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst theme = await getCurrent().theme();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window theme."}]}]},"sources":[{"fileName":"window.ts","line":742,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L742"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":538,"name":"Theme","package":"@tauri-apps/api"}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":351,"name":"title","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":721,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L721"}],"signatures":[{"id":352,"name":"title","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current title."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst title = await getCurrent().title();\n```"}]}]},"sources":[{"fileName":"window.ts","line":721,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L721"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":379,"name":"toggleMaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":950,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L950"}],"signatures":[{"id":380,"name":"toggleMaximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Toggles the window maximized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().toggleMaximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":950,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L950"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":377,"name":"unmaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":934,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L934"}],"signatures":[{"id":378,"name":"unmaximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unmaximizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().unmaximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":934,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L934"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":383,"name":"unminimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":982,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L982"}],"signatures":[{"id":384,"name":"unminimize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unminimizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().unminimize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":982,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L982"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":292,"name":"getAll","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":328,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L328"}],"signatures":[{"id":293,"name":"getAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets a list of instances of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for all available windows."}]},"sources":[{"fileName":"window.ts","line":328,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L328"}],"type":{"type":"array","elementType":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}}]},{"id":287,"name":"getByLabel","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":310,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L310"}],"signatures":[{"id":288,"name":"getByLabel","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the Window for the webview associated with the given label."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst mainWindow = Window.getByLabel('main');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The Window instance to communicate with the webview or null if the webview doesn't exist."}]}]},"sources":[{"fileName":"window.ts","line":310,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L310"}],"parameters":[{"id":289,"name":"label","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The webview window label."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}]}}]},{"id":290,"name":"getCurrent","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":321,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L321"}],"signatures":[{"id":291,"name":"getCurrent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get an instance of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for the current window."}]},"sources":[{"fileName":"window.ts","line":321,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L321"}],"type":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}]},{"id":294,"name":"getFocusedWindow","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":342,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L342"}],"signatures":[{"id":295,"name":"getFocusedWindow","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the focused window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst focusedWindow = Window.getFocusedWindow();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The Window instance to communicate with the webview or "},{"kind":"code","text":"`undefined`"},{"kind":"text","text":" if there is not any focused window."}]}]},"sources":[{"fileName":"window.ts","line":342,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L342"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Constructors","children":[296]},{"title":"Properties","children":[300,301]},{"title":"Methods","children":[355,400,389,312,387,323,327,347,339,337,331,343,335,345,333,341,349,302,375,381,457,472,463,469,454,451,466,475,307,325,329,357,321,402,369,405,431,437,440,434,391,397,423,420,425,443,414,363,411,366,417,448,360,394,408,428,372,385,446,353,351,379,377,383,292,287,290,294]}],"sources":[{"fileName":"window.ts","line":255,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L255"}]},{"id":533,"name":"Effects","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"The window effects configuration object"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":537,"name":"color","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect color. Affects "},{"kind":"inline-tag","tag":"@link","text":"Blur","target":518,"tsLinkText":""},{"kind":"text","text":" and "},{"kind":"inline-tag","tag":"@link","text":"Acrylic","target":519,"tsLinkText":""},{"kind":"text","text":" only\non Windows 10 v1903+. Doesn't have any effect on Windows 7 or Windows 11."}]},"sources":[{"fileName":"window.ts","line":1942,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1942"}],"type":{"type":"reference","target":586,"name":"Color","package":"@tauri-apps/api"}},{"id":534,"name":"effects","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"List of Window effects to apply to the Window.\nConflicting effects will apply the first one and ignore the rest."}]},"sources":[{"fileName":"window.ts","line":1929,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1929"}],"type":{"type":"array","elementType":{"type":"reference","target":497,"name":"Effect","package":"@tauri-apps/api"}}},{"id":536,"name":"radius","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect corner radius **macOS Only**"}]},"sources":[{"fileName":"window.ts","line":1937,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1937"}],"type":{"type":"intrinsic","name":"number"}},{"id":535,"name":"state","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect state **macOS Only**"}]},"sources":[{"fileName":"window.ts","line":1933,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1933"}],"type":{"type":"reference","target":523,"name":"EffectState","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[537,534,536,535]}],"sources":[{"fileName":"window.ts","line":1924,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1924"}]},{"id":269,"name":"Monitor","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Allows you to retrieve information about a given monitor."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":270,"name":"name","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Human-readable name of the monitor"}]},"sources":[{"fileName":"window.ts","line":36,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L36"}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"}]}},{"id":272,"name":"position","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"the Top-left corner position of the monitor relative to the larger full screen area."}]},"sources":[{"fileName":"window.ts","line":40,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L40"}],"type":{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}},{"id":273,"name":"scaleFactor","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The scale factor that can be used to map physical pixels to logical pixels."}]},"sources":[{"fileName":"window.ts","line":42,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L42"}],"type":{"type":"intrinsic","name":"number"}},{"id":271,"name":"size","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The monitor's resolution."}]},"sources":[{"fileName":"window.ts","line":38,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L38"}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[270,272,273,271]}],"sources":[{"fileName":"window.ts","line":34,"character":17,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L34"}]},{"id":281,"name":"ProgressBarState","variant":"declaration","kind":256,"flags":{},"children":[{"id":283,"name":"progress","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The progress bar progress. This can be a value ranging from "},{"kind":"code","text":"`0`"},{"kind":"text","text":" to "},{"kind":"code","text":"`100`"}]},"sources":[{"fileName":"window.ts","line":182,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L182"}],"type":{"type":"intrinsic","name":"number"}},{"id":282,"name":"status","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The progress bar status."}]},"sources":[{"fileName":"window.ts","line":178,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L178"}],"type":{"type":"reference","target":275,"name":"ProgressBarStatus","package":"@tauri-apps/api"}},{"id":284,"name":"unityUri","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The identifier for your app to communicate with the Unity desktop window manager **Linux Only**"}]},"sources":[{"fileName":"window.ts","line":186,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L186"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[283,282,284]}],"sources":[{"fileName":"window.ts","line":174,"character":17,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L174"}]},{"id":540,"name":"ScaleFactorChanged","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"The payload for the "},{"kind":"code","text":"`scaleChange`"},{"kind":"text","text":" event."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"children":[{"id":541,"name":"scaleFactor","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new window scale factor."}]},"sources":[{"fileName":"window.ts","line":55,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L55"}],"type":{"type":"intrinsic","name":"number"}},{"id":542,"name":"size","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new window size"}]},"sources":[{"fileName":"window.ts","line":57,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L57"}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[541,542]}],"sources":[{"fileName":"window.ts","line":53,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L53"}]},{"id":552,"name":"WindowOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Configuration for the window to create."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":579,"name":"acceptFirstMouse","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether clicking an inactive window also clicks through to the webview on macOS."}]},"sources":[{"fileName":"window.ts","line":2040,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2040"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":571,"name":"alwaysOnTop","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows or not."}]},"sources":[{"fileName":"window.ts","line":1998,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1998"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":554,"name":"center","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Show window in the center of the screen.."}]},"sources":[{"fileName":"window.ts","line":1960,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1960"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":585,"name":"closable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native close button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2071,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2071"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":572,"name":"contentProtected","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Prevents the window contents from being captured by other apps."}]},"sources":[{"fileName":"window.ts","line":2000,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2000"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":570,"name":"decorations","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars or not."}]},"sources":[{"fileName":"window.ts","line":1996,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1996"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":575,"name":"fileDropEnabled","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the file drop is enabled or not on the webview. By default it is enabled.\n\nDisabling it is required to use drag and drop on the frontend on Windows."}]},"sources":[{"fileName":"window.ts","line":2022,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2022"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":566,"name":"focus","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window will be initially focused or not."}]},"sources":[{"fileName":"window.ts","line":1984,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1984"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":565,"name":"fullscreen","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is in fullscreen mode or not."}]},"sources":[{"fileName":"window.ts","line":1982,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1982"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":558,"name":"height","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial height."}]},"sources":[{"fileName":"window.ts","line":1968,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1968"}],"type":{"type":"intrinsic","name":"number"}},{"id":578,"name":"hiddenTitle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", sets the window title to be hidden on macOS."}]},"sources":[{"fileName":"window.ts","line":2036,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2036"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":582,"name":"incognito","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the webview should be launched in incognito mode.\n\n#### Platform-specific\n\n- **Android:** Unsupported."}]},"sources":[{"fileName":"window.ts","line":2059,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2059"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":562,"name":"maxHeight","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The maximum height. Only applies if "},{"kind":"code","text":"`maxWidth`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1976,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1976"}],"type":{"type":"intrinsic","name":"number"}},{"id":561,"name":"maxWidth","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The maximum width. Only applies if "},{"kind":"code","text":"`maxHeight`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1974,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1974"}],"type":{"type":"intrinsic","name":"number"}},{"id":583,"name":"maximizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native maximize button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2063,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2063"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":568,"name":"maximized","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should be maximized upon creation or not."}]},"sources":[{"fileName":"window.ts","line":1992,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1992"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":560,"name":"minHeight","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The minimum height. Only applies if "},{"kind":"code","text":"`minWidth`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1972,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1972"}],"type":{"type":"intrinsic","name":"number"}},{"id":559,"name":"minWidth","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The minimum width. Only applies if "},{"kind":"code","text":"`minHeight`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1970,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1970"}],"type":{"type":"intrinsic","name":"number"}},{"id":584,"name":"minimizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native minimize button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2067,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2067"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":563,"name":"resizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is resizable or not."}]},"sources":[{"fileName":"window.ts","line":1978,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1978"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":574,"name":"shadow","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the window has shadow.\n\n#### Platform-specific\n\n- **Windows:**\n - "},{"kind":"code","text":"`false`"},{"kind":"text","text":" has no effect on decorated window, shadows are always ON.\n - "},{"kind":"code","text":"`true`"},{"kind":"text","text":" will make ndecorated window have a 1px white border,\nand on Windows 11, it will have a rounded corners.\n- **Linux:** Unsupported."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2016,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2016"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":573,"name":"skipTaskbar","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the window icon should be added to the taskbar."}]},"sources":[{"fileName":"window.ts","line":2002,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2002"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":580,"name":"tabbingIdentifier","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Defines the window [tabbing identifier](https://developer.apple.com/documentation/appkit/nswindow/1644704-tabbingidentifier) on macOS.\n\nWindows with the same tabbing identifier will be grouped together.\nIf the tabbing identifier is not set, automatic tabbing will be disabled."}]},"sources":[{"fileName":"window.ts","line":2047,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2047"}],"type":{"type":"intrinsic","name":"string"}},{"id":576,"name":"theme","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial window theme. Defaults to the system theme.\n\nOnly implemented on Windows and macOS 10.14+."}]},"sources":[{"fileName":"window.ts","line":2028,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2028"}],"type":{"type":"reference","target":538,"name":"Theme","package":"@tauri-apps/api"}},{"id":564,"name":"title","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window title."}]},"sources":[{"fileName":"window.ts","line":1980,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1980"}],"type":{"type":"intrinsic","name":"string"}},{"id":577,"name":"titleBarStyle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The style of the macOS title bar."}]},"sources":[{"fileName":"window.ts","line":2032,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2032"}],"type":{"type":"reference","target":539,"name":"TitleBarStyle","package":"@tauri-apps/api"}},{"id":567,"name":"transparent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is transparent or not.\nNote that on "},{"kind":"code","text":"`macOS`"},{"kind":"text","text":" this requires the "},{"kind":"code","text":"`macos-private-api`"},{"kind":"text","text":" feature flag, enabled under "},{"kind":"code","text":"`tauri.conf.json > tauri > macOSPrivateApi`"},{"kind":"text","text":".\nWARNING: Using private APIs on "},{"kind":"code","text":"`macOS`"},{"kind":"text","text":" prevents your application from being accepted to the "},{"kind":"code","text":"`App Store`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":1990,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1990"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":553,"name":"url","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Remote URL or local file path to open.\n\n- URL such as "},{"kind":"code","text":"`https://github.com/tauri-apps`"},{"kind":"text","text":" is opened directly on a Tauri window.\n- data: URL such as "},{"kind":"code","text":"`data:text/html,<html>...`"},{"kind":"text","text":" is only supported with the "},{"kind":"code","text":"`window-data-url`"},{"kind":"text","text":" Cargo feature for the "},{"kind":"code","text":"`tauri`"},{"kind":"text","text":" dependency.\n- local file path or route such as "},{"kind":"code","text":"`/path/to/page.html`"},{"kind":"text","text":" or "},{"kind":"code","text":"`/users`"},{"kind":"text","text":" is appended to the application URL (the devServer URL on development, or "},{"kind":"code","text":"`tauri://localhost/`"},{"kind":"text","text":" and "},{"kind":"code","text":"`https://tauri.localhost/`"},{"kind":"text","text":" on production)."}]},"sources":[{"fileName":"window.ts","line":1958,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1958"}],"type":{"type":"intrinsic","name":"string"}},{"id":581,"name":"userAgent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The user agent for the webview."}]},"sources":[{"fileName":"window.ts","line":2051,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2051"}],"type":{"type":"intrinsic","name":"string"}},{"id":569,"name":"visible","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should be immediately visible upon creation or not."}]},"sources":[{"fileName":"window.ts","line":1994,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1994"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":557,"name":"width","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial width."}]},"sources":[{"fileName":"window.ts","line":1966,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1966"}],"type":{"type":"intrinsic","name":"number"}},{"id":555,"name":"x","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial vertical position. Only applies if "},{"kind":"code","text":"`y`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1962,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1962"}],"type":{"type":"intrinsic","name":"number"}},{"id":556,"name":"y","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial horizontal position. Only applies if "},{"kind":"code","text":"`x`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1964,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1964"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","children":[579,571,554,585,572,570,575,566,565,558,578,582,562,561,583,568,560,559,584,563,574,573,580,576,564,577,567,553,581,569,557,555,556]}],"sources":[{"fileName":"window.ts","line":1950,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1950"}]},{"id":586,"name":"Color","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"an array RGBA colors. Each value has minimum of 0 and maximum of 255."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"window.ts","line":1770,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1770"}],"type":{"type":"tuple","elements":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"}]}},{"id":274,"name":"CursorIcon","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":110,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L110"}],"type":{"type":"union","types":[{"type":"literal","value":"default"},{"type":"literal","value":"crosshair"},{"type":"literal","value":"hand"},{"type":"literal","value":"arrow"},{"type":"literal","value":"move"},{"type":"literal","value":"text"},{"type":"literal","value":"wait"},{"type":"literal","value":"help"},{"type":"literal","value":"progress"},{"type":"literal","value":"notAllowed"},{"type":"literal","value":"contextMenu"},{"type":"literal","value":"cell"},{"type":"literal","value":"verticalText"},{"type":"literal","value":"alias"},{"type":"literal","value":"copy"},{"type":"literal","value":"noDrop"},{"type":"literal","value":"grab"},{"type":"literal","value":"grabbing"},{"type":"literal","value":"allScroll"},{"type":"literal","value":"zoomIn"},{"type":"literal","value":"zoomOut"},{"type":"literal","value":"eResize"},{"type":"literal","value":"nResize"},{"type":"literal","value":"neResize"},{"type":"literal","value":"nwResize"},{"type":"literal","value":"sResize"},{"type":"literal","value":"seResize"},{"type":"literal","value":"swResize"},{"type":"literal","value":"wResize"},{"type":"literal","value":"ewResize"},{"type":"literal","value":"nsResize"},{"type":"literal","value":"neswResize"},{"type":"literal","value":"nwseResize"},{"type":"literal","value":"colResize"},{"type":"literal","value":"rowResize"}]}},{"id":543,"name":"FileDropEvent","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file drop event types."}]},"sources":[{"fileName":"window.ts","line":61,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L61"}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":544,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":546,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":62,"character":21,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L62"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":545,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":62,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L62"}],"type":{"type":"literal","value":"hover"}}],"groups":[{"title":"Properties","children":[546,545]}],"sources":[{"fileName":"window.ts","line":62,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L62"}]}},{"type":"reflection","declaration":{"id":547,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":549,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":63,"character":20,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L63"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":548,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":63,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L63"}],"type":{"type":"literal","value":"drop"}}],"groups":[{"title":"Properties","children":[549,548]}],"sources":[{"fileName":"window.ts","line":63,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L63"}]}},{"type":"reflection","declaration":{"id":550,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":551,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":64,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L64"}],"type":{"type":"literal","value":"cancel"}}],"groups":[{"title":"Properties","children":[551]}],"sources":[{"fileName":"window.ts","line":64,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L64"}]}}]}},{"id":538,"name":"Theme","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":45,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L45"}],"type":{"type":"union","types":[{"type":"literal","value":"light"},{"type":"literal","value":"dark"}]}},{"id":539,"name":"TitleBarStyle","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":46,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L46"}],"type":{"type":"union","types":[{"type":"literal","value":"visible"},{"type":"literal","value":"transparent"},{"type":"literal","value":"overlay"}]}},{"id":531,"name":"availableMonitors","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2137,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2137"}],"signatures":[{"id":532,"name":"availableMonitors","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the list of all the monitors available on the system."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { availableMonitors } from '@tauri-apps/api/window';\nconst monitors = availableMonitors();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2137,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2137"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"array","elementType":{"type":"reference","target":269,"name":"Monitor","package":"@tauri-apps/api"}}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":527,"name":"currentMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2104,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2104"}],"signatures":[{"id":528,"name":"currentMonitor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the monitor on which the window currently resides.\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if current monitor can't be detected."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { currentMonitor } from '@tauri-apps/api/window';\nconst monitor = currentMonitor();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2104,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2104"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"reference","target":269,"name":"Monitor","package":"@tauri-apps/api"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":492,"name":"getAll","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":206,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L206"}],"signatures":[{"id":493,"name":"getAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets a list of instances of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for all available windows."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":206,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L206"}],"type":{"type":"array","elementType":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}}]},{"id":490,"name":"getCurrent","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":194,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L194"}],"signatures":[{"id":491,"name":"getCurrent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get an instance of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for the current window."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":194,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L194"}],"type":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}]},{"id":529,"name":"primaryMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2121,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2121"}],"signatures":[{"id":530,"name":"primaryMonitor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the primary monitor of the system.\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if it can't identify any monitor as a primary one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { primaryMonitor } from '@tauri-apps/api/window';\nconst monitor = primaryMonitor();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2121,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L2121"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"reference","target":269,"name":"Monitor","package":"@tauri-apps/api"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"References","children":[600,598,601,599]},{"title":"Enumerations","children":[497,523,275,494]},{"title":"Classes","children":[478,286]},{"title":"Interfaces","children":[533,269,281,540,552]},{"title":"Type Aliases","children":[586,274,543,538,539]},{"title":"Functions","children":[531,527,492,490,529]}],"sources":[{"fileName":"window.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/0fa1fa1c4/tooling/api/src/window.ts#L1"}]}],"groups":[{"title":"Modules","children":[587,1,40,89,103,204,268]}],"packageName":"@tauri-apps/api","symbolIdMap":{"1":{"sourceFileName":"src/dpi.ts","qualifiedName":""},"2":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition"},"3":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.__constructor"},"4":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition"},"5":{"sourceFileName":"src/dpi.ts","qualifiedName":"x"},"6":{"sourceFileName":"src/dpi.ts","qualifiedName":"y"},"7":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.type"},"8":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.x"},"9":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.y"},"10":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize"},"11":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.__constructor"},"12":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize"},"13":{"sourceFileName":"src/dpi.ts","qualifiedName":"width"},"14":{"sourceFileName":"src/dpi.ts","qualifiedName":"height"},"15":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.type"},"16":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.width"},"17":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.height"},"18":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition"},"19":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.__constructor"},"20":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition"},"21":{"sourceFileName":"src/dpi.ts","qualifiedName":"x"},"22":{"sourceFileName":"src/dpi.ts","qualifiedName":"y"},"23":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.type"},"24":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.x"},"25":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.y"},"26":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.toLogical"},"27":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.toLogical"},"28":{"sourceFileName":"src/dpi.ts","qualifiedName":"scaleFactor"},"29":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize"},"30":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.__constructor"},"31":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize"},"32":{"sourceFileName":"src/dpi.ts","qualifiedName":"width"},"33":{"sourceFileName":"src/dpi.ts","qualifiedName":"height"},"34":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.type"},"35":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.width"},"36":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.height"},"37":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.toLogical"},"38":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.toLogical"},"39":{"sourceFileName":"src/dpi.ts","qualifiedName":"scaleFactor"},"40":{"sourceFileName":"src/event.ts","qualifiedName":""},"41":{"sourceFileName":"src/event.ts","qualifiedName":"Event"},"42":{"sourceFileName":"src/event.ts","qualifiedName":"Event.event"},"43":{"sourceFileName":"src/event.ts","qualifiedName":"Event.windowLabel"},"44":{"sourceFileName":"src/event.ts","qualifiedName":"Event.id"},"45":{"sourceFileName":"src/event.ts","qualifiedName":"Event.payload"},"46":{"sourceFileName":"src/event.ts","qualifiedName":"Event.T"},"47":{"sourceFileName":"src/event.ts","qualifiedName":"EventCallback"},"48":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"49":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"50":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"51":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"52":{"sourceFileName":"src/event.ts","qualifiedName":"UnlistenFn"},"53":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"54":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"55":{"sourceFileName":"src/event.ts","qualifiedName":"EventName"},"56":{"sourceFileName":"src/event.ts","qualifiedName":"Options"},"57":{"sourceFileName":"src/event.ts","qualifiedName":"Options.target"},"58":{"sourceFileName":"src/event.ts","qualifiedName":"listen"},"59":{"sourceFileName":"src/event.ts","qualifiedName":"listen"},"60":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"61":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"62":{"sourceFileName":"src/event.ts","qualifiedName":"handler"},"63":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"64":{"sourceFileName":"src/event.ts","qualifiedName":"once"},"65":{"sourceFileName":"src/event.ts","qualifiedName":"once"},"66":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"67":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"68":{"sourceFileName":"src/event.ts","qualifiedName":"handler"},"69":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"70":{"sourceFileName":"src/event.ts","qualifiedName":"emit"},"71":{"sourceFileName":"src/event.ts","qualifiedName":"emit"},"72":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"73":{"sourceFileName":"src/event.ts","qualifiedName":"payload"},"74":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"75":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent"},"76":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_RESIZED"},"77":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_MOVED"},"78":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_CLOSE_REQUESTED"},"79":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_CREATED"},"80":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_DESTROYED"},"81":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FOCUS"},"82":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_BLUR"},"83":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_SCALE_FACTOR_CHANGED"},"84":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_THEME_CHANGED"},"85":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP"},"86":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP_HOVER"},"87":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP_CANCELLED"},"88":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.MENU"},"89":{"sourceFileName":"src/mocks.ts","qualifiedName":""},"90":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockIPC"},"91":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockIPC"},"92":{"sourceFileName":"src/mocks.ts","qualifiedName":"cb"},"93":{"sourceFileName":"src/mocks.ts","qualifiedName":"__type"},"94":{"sourceFileName":"src/mocks.ts","qualifiedName":"__type"},"95":{"sourceFileName":"src/mocks.ts","qualifiedName":"cmd"},"96":{"sourceFileName":"src/mocks.ts","qualifiedName":"payload"},"97":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockWindows"},"98":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockWindows"},"99":{"sourceFileName":"src/mocks.ts","qualifiedName":"current"},"100":{"sourceFileName":"src/mocks.ts","qualifiedName":"additionalWindows"},"101":{"sourceFileName":"src/mocks.ts","qualifiedName":"clearMocks"},"102":{"sourceFileName":"src/mocks.ts","qualifiedName":"clearMocks"},"103":{"sourceFileName":"src/path.ts","qualifiedName":""},"104":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory"},"105":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Audio"},"106":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Cache"},"107":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Config"},"108":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Data"},"109":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.LocalData"},"110":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Document"},"111":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Download"},"112":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Picture"},"113":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Public"},"114":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Video"},"115":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Resource"},"116":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Temp"},"117":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppConfig"},"118":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppData"},"119":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppLocalData"},"120":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppCache"},"121":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppLog"},"122":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Desktop"},"123":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Executable"},"124":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Font"},"125":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Home"},"126":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Runtime"},"127":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Template"},"128":{"sourceFileName":"src/path.ts","qualifiedName":"appConfigDir"},"129":{"sourceFileName":"src/path.ts","qualifiedName":"appConfigDir"},"130":{"sourceFileName":"src/path.ts","qualifiedName":"appDataDir"},"131":{"sourceFileName":"src/path.ts","qualifiedName":"appDataDir"},"132":{"sourceFileName":"src/path.ts","qualifiedName":"appLocalDataDir"},"133":{"sourceFileName":"src/path.ts","qualifiedName":"appLocalDataDir"},"134":{"sourceFileName":"src/path.ts","qualifiedName":"appCacheDir"},"135":{"sourceFileName":"src/path.ts","qualifiedName":"appCacheDir"},"136":{"sourceFileName":"src/path.ts","qualifiedName":"appLogDir"},"137":{"sourceFileName":"src/path.ts","qualifiedName":"appLogDir"},"138":{"sourceFileName":"src/path.ts","qualifiedName":"audioDir"},"139":{"sourceFileName":"src/path.ts","qualifiedName":"audioDir"},"140":{"sourceFileName":"src/path.ts","qualifiedName":"cacheDir"},"141":{"sourceFileName":"src/path.ts","qualifiedName":"cacheDir"},"142":{"sourceFileName":"src/path.ts","qualifiedName":"configDir"},"143":{"sourceFileName":"src/path.ts","qualifiedName":"configDir"},"144":{"sourceFileName":"src/path.ts","qualifiedName":"dataDir"},"145":{"sourceFileName":"src/path.ts","qualifiedName":"dataDir"},"146":{"sourceFileName":"src/path.ts","qualifiedName":"desktopDir"},"147":{"sourceFileName":"src/path.ts","qualifiedName":"desktopDir"},"148":{"sourceFileName":"src/path.ts","qualifiedName":"documentDir"},"149":{"sourceFileName":"src/path.ts","qualifiedName":"documentDir"},"150":{"sourceFileName":"src/path.ts","qualifiedName":"downloadDir"},"151":{"sourceFileName":"src/path.ts","qualifiedName":"downloadDir"},"152":{"sourceFileName":"src/path.ts","qualifiedName":"executableDir"},"153":{"sourceFileName":"src/path.ts","qualifiedName":"executableDir"},"154":{"sourceFileName":"src/path.ts","qualifiedName":"fontDir"},"155":{"sourceFileName":"src/path.ts","qualifiedName":"fontDir"},"156":{"sourceFileName":"src/path.ts","qualifiedName":"homeDir"},"157":{"sourceFileName":"src/path.ts","qualifiedName":"homeDir"},"158":{"sourceFileName":"src/path.ts","qualifiedName":"localDataDir"},"159":{"sourceFileName":"src/path.ts","qualifiedName":"localDataDir"},"160":{"sourceFileName":"src/path.ts","qualifiedName":"pictureDir"},"161":{"sourceFileName":"src/path.ts","qualifiedName":"pictureDir"},"162":{"sourceFileName":"src/path.ts","qualifiedName":"publicDir"},"163":{"sourceFileName":"src/path.ts","qualifiedName":"publicDir"},"164":{"sourceFileName":"src/path.ts","qualifiedName":"resourceDir"},"165":{"sourceFileName":"src/path.ts","qualifiedName":"resourceDir"},"166":{"sourceFileName":"src/path.ts","qualifiedName":"resolveResource"},"167":{"sourceFileName":"src/path.ts","qualifiedName":"resolveResource"},"168":{"sourceFileName":"src/path.ts","qualifiedName":"resourcePath"},"169":{"sourceFileName":"src/path.ts","qualifiedName":"runtimeDir"},"170":{"sourceFileName":"src/path.ts","qualifiedName":"runtimeDir"},"171":{"sourceFileName":"src/path.ts","qualifiedName":"templateDir"},"172":{"sourceFileName":"src/path.ts","qualifiedName":"templateDir"},"173":{"sourceFileName":"src/path.ts","qualifiedName":"videoDir"},"174":{"sourceFileName":"src/path.ts","qualifiedName":"videoDir"},"175":{"sourceFileName":"src/path.ts","qualifiedName":"sep"},"176":{"sourceFileName":"src/path.ts","qualifiedName":"sep"},"177":{"sourceFileName":"src/path.ts","qualifiedName":"delimiter"},"178":{"sourceFileName":"src/path.ts","qualifiedName":"delimiter"},"179":{"sourceFileName":"src/path.ts","qualifiedName":"resolve"},"180":{"sourceFileName":"src/path.ts","qualifiedName":"resolve"},"181":{"sourceFileName":"src/path.ts","qualifiedName":"paths"},"182":{"sourceFileName":"src/path.ts","qualifiedName":"normalize"},"183":{"sourceFileName":"src/path.ts","qualifiedName":"normalize"},"184":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"185":{"sourceFileName":"src/path.ts","qualifiedName":"join"},"186":{"sourceFileName":"src/path.ts","qualifiedName":"join"},"187":{"sourceFileName":"src/path.ts","qualifiedName":"paths"},"188":{"sourceFileName":"src/path.ts","qualifiedName":"dirname"},"189":{"sourceFileName":"src/path.ts","qualifiedName":"dirname"},"190":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"191":{"sourceFileName":"src/path.ts","qualifiedName":"extname"},"192":{"sourceFileName":"src/path.ts","qualifiedName":"extname"},"193":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"194":{"sourceFileName":"src/path.ts","qualifiedName":"basename"},"195":{"sourceFileName":"src/path.ts","qualifiedName":"basename"},"196":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"197":{"sourceFileName":"src/path.ts","qualifiedName":"ext"},"198":{"sourceFileName":"src/path.ts","qualifiedName":"isAbsolute"},"199":{"sourceFileName":"src/path.ts","qualifiedName":"isAbsolute"},"200":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"201":{"sourceFileName":"src/path.ts","qualifiedName":"tempDir"},"202":{"sourceFileName":"src/path.ts","qualifiedName":"tempDir"},"203":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"204":{"sourceFileName":"src/primitives.ts","qualifiedName":""},"205":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeArgs"},"206":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeOptions"},"207":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeOptions.headers"},"208":{"sourceFileName":"src/primitives.ts","qualifiedName":"transformCallback"},"209":{"sourceFileName":"src/primitives.ts","qualifiedName":"transformCallback"},"210":{"sourceFileName":"src/primitives.ts","qualifiedName":"callback"},"211":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"212":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"213":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"214":{"sourceFileName":"src/primitives.ts","qualifiedName":"once"},"215":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel"},"216":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.__constructor"},"217":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel"},"218":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.T"},"219":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.id"},"220":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.__TAURI_CHANNEL_MARKER__"},"221":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.#onmessage"},"222":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"223":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"224":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"225":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"226":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"227":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"228":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"229":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"230":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"231":{"sourceFileName":"src/primitives.ts","qualifiedName":"handler"},"232":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"233":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"234":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"235":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.toJSON"},"236":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.toJSON"},"237":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.T"},"238":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener"},"239":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.__constructor"},"240":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener"},"241":{"sourceFileName":"src/primitives.ts","qualifiedName":"plugin"},"242":{"sourceFileName":"src/primitives.ts","qualifiedName":"event"},"243":{"sourceFileName":"src/primitives.ts","qualifiedName":"channelId"},"244":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.plugin"},"245":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.event"},"246":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.channelId"},"247":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.unregister"},"248":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.unregister"},"249":{"sourceFileName":"src/primitives.ts","qualifiedName":"addPluginListener"},"250":{"sourceFileName":"src/primitives.ts","qualifiedName":"addPluginListener"},"251":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"252":{"sourceFileName":"src/primitives.ts","qualifiedName":"plugin"},"253":{"sourceFileName":"src/primitives.ts","qualifiedName":"event"},"254":{"sourceFileName":"src/primitives.ts","qualifiedName":"cb"},"255":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"256":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"257":{"sourceFileName":"src/primitives.ts","qualifiedName":"payload"},"258":{"sourceFileName":"src/primitives.ts","qualifiedName":"invoke"},"259":{"sourceFileName":"src/primitives.ts","qualifiedName":"invoke"},"260":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"261":{"sourceFileName":"src/primitives.ts","qualifiedName":"cmd"},"262":{"sourceFileName":"src/primitives.ts","qualifiedName":"args"},"263":{"sourceFileName":"src/primitives.ts","qualifiedName":"options"},"264":{"sourceFileName":"src/primitives.ts","qualifiedName":"convertFileSrc"},"265":{"sourceFileName":"src/primitives.ts","qualifiedName":"convertFileSrc"},"266":{"sourceFileName":"src/primitives.ts","qualifiedName":"filePath"},"267":{"sourceFileName":"src/primitives.ts","qualifiedName":"protocol"},"268":{"sourceFileName":"src/window.ts","qualifiedName":""},"269":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor"},"270":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.name"},"271":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.size"},"272":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.position"},"273":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.scaleFactor"},"274":{"sourceFileName":"src/window.ts","qualifiedName":"CursorIcon"},"275":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus"},"276":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.None"},"277":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Normal"},"278":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Indeterminate"},"279":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Paused"},"280":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Error"},"281":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState"},"282":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.status"},"283":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.progress"},"284":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.unityUri"},"286":{"sourceFileName":"src/window.ts","qualifiedName":"Window"},"287":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getByLabel"},"288":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getByLabel"},"289":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"290":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getCurrent"},"291":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getCurrent"},"292":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getAll"},"293":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getAll"},"294":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getFocusedWindow"},"295":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getFocusedWindow"},"296":{"sourceFileName":"src/window.ts","qualifiedName":"Window.__constructor"},"297":{"sourceFileName":"src/window.ts","qualifiedName":"Window"},"298":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"299":{"sourceFileName":"src/window.ts","qualifiedName":"options"},"300":{"sourceFileName":"src/window.ts","qualifiedName":"Window.label"},"301":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listeners"},"302":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listen"},"303":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listen"},"304":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"305":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"306":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"307":{"sourceFileName":"src/window.ts","qualifiedName":"Window.once"},"308":{"sourceFileName":"src/window.ts","qualifiedName":"Window.once"},"309":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"310":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"311":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"312":{"sourceFileName":"src/window.ts","qualifiedName":"Window.emit"},"313":{"sourceFileName":"src/window.ts","qualifiedName":"Window.emit"},"314":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"315":{"sourceFileName":"src/window.ts","qualifiedName":"payload"},"321":{"sourceFileName":"src/window.ts","qualifiedName":"Window.scaleFactor"},"322":{"sourceFileName":"src/window.ts","qualifiedName":"Window.scaleFactor"},"323":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerPosition"},"324":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerPosition"},"325":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerPosition"},"326":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerPosition"},"327":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerSize"},"328":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerSize"},"329":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerSize"},"330":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerSize"},"331":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFullscreen"},"332":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFullscreen"},"333":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimized"},"334":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimized"},"335":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximized"},"336":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximized"},"337":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFocused"},"338":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFocused"},"339":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isDecorated"},"340":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isDecorated"},"341":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isResizable"},"342":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isResizable"},"343":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximizable"},"344":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximizable"},"345":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimizable"},"346":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimizable"},"347":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isClosable"},"348":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isClosable"},"349":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isVisible"},"350":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isVisible"},"351":{"sourceFileName":"src/window.ts","qualifiedName":"Window.title"},"352":{"sourceFileName":"src/window.ts","qualifiedName":"Window.title"},"353":{"sourceFileName":"src/window.ts","qualifiedName":"Window.theme"},"354":{"sourceFileName":"src/window.ts","qualifiedName":"Window.theme"},"355":{"sourceFileName":"src/window.ts","qualifiedName":"Window.center"},"356":{"sourceFileName":"src/window.ts","qualifiedName":"Window.center"},"357":{"sourceFileName":"src/window.ts","qualifiedName":"Window.requestUserAttention"},"358":{"sourceFileName":"src/window.ts","qualifiedName":"Window.requestUserAttention"},"359":{"sourceFileName":"src/window.ts","qualifiedName":"requestType"},"360":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setResizable"},"361":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setResizable"},"362":{"sourceFileName":"src/window.ts","qualifiedName":"resizable"},"363":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaximizable"},"364":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaximizable"},"365":{"sourceFileName":"src/window.ts","qualifiedName":"maximizable"},"366":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinimizable"},"367":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinimizable"},"368":{"sourceFileName":"src/window.ts","qualifiedName":"minimizable"},"369":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setClosable"},"370":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setClosable"},"371":{"sourceFileName":"src/window.ts","qualifiedName":"closable"},"372":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setTitle"},"373":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setTitle"},"374":{"sourceFileName":"src/window.ts","qualifiedName":"title"},"375":{"sourceFileName":"src/window.ts","qualifiedName":"Window.maximize"},"376":{"sourceFileName":"src/window.ts","qualifiedName":"Window.maximize"},"377":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unmaximize"},"378":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unmaximize"},"379":{"sourceFileName":"src/window.ts","qualifiedName":"Window.toggleMaximize"},"380":{"sourceFileName":"src/window.ts","qualifiedName":"Window.toggleMaximize"},"381":{"sourceFileName":"src/window.ts","qualifiedName":"Window.minimize"},"382":{"sourceFileName":"src/window.ts","qualifiedName":"Window.minimize"},"383":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unminimize"},"384":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unminimize"},"385":{"sourceFileName":"src/window.ts","qualifiedName":"Window.show"},"386":{"sourceFileName":"src/window.ts","qualifiedName":"Window.show"},"387":{"sourceFileName":"src/window.ts","qualifiedName":"Window.hide"},"388":{"sourceFileName":"src/window.ts","qualifiedName":"Window.hide"},"389":{"sourceFileName":"src/window.ts","qualifiedName":"Window.close"},"390":{"sourceFileName":"src/window.ts","qualifiedName":"Window.close"},"391":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setDecorations"},"392":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setDecorations"},"393":{"sourceFileName":"src/window.ts","qualifiedName":"decorations"},"394":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setShadow"},"395":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setShadow"},"396":{"sourceFileName":"src/window.ts","qualifiedName":"enable"},"397":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setEffects"},"398":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setEffects"},"399":{"sourceFileName":"src/window.ts","qualifiedName":"effects"},"400":{"sourceFileName":"src/window.ts","qualifiedName":"Window.clearEffects"},"401":{"sourceFileName":"src/window.ts","qualifiedName":"Window.clearEffects"},"402":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnTop"},"403":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnTop"},"404":{"sourceFileName":"src/window.ts","qualifiedName":"alwaysOnTop"},"405":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setContentProtected"},"406":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setContentProtected"},"407":{"sourceFileName":"src/window.ts","qualifiedName":"protected_"},"408":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSize"},"409":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSize"},"410":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"411":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinSize"},"412":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinSize"},"413":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"414":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaxSize"},"415":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaxSize"},"416":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"417":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setPosition"},"418":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setPosition"},"419":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"420":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFullscreen"},"421":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFullscreen"},"422":{"sourceFileName":"src/window.ts","qualifiedName":"fullscreen"},"423":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFocus"},"424":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFocus"},"425":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIcon"},"426":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIcon"},"427":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"428":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSkipTaskbar"},"429":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSkipTaskbar"},"430":{"sourceFileName":"src/window.ts","qualifiedName":"skip"},"431":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorGrab"},"432":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorGrab"},"433":{"sourceFileName":"src/window.ts","qualifiedName":"grab"},"434":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorVisible"},"435":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorVisible"},"436":{"sourceFileName":"src/window.ts","qualifiedName":"visible"},"437":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorIcon"},"438":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorIcon"},"439":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"440":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorPosition"},"441":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorPosition"},"442":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"443":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIgnoreCursorEvents"},"444":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIgnoreCursorEvents"},"445":{"sourceFileName":"src/window.ts","qualifiedName":"ignore"},"446":{"sourceFileName":"src/window.ts","qualifiedName":"Window.startDragging"},"447":{"sourceFileName":"src/window.ts","qualifiedName":"Window.startDragging"},"448":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setProgressBar"},"449":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setProgressBar"},"450":{"sourceFileName":"src/window.ts","qualifiedName":"state"},"451":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onResized"},"452":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onResized"},"453":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"454":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMoved"},"455":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMoved"},"456":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"457":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onCloseRequested"},"458":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onCloseRequested"},"459":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"460":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"461":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"462":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"463":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFocusChanged"},"464":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFocusChanged"},"465":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"466":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onScaleChanged"},"467":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onScaleChanged"},"468":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"469":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMenuClicked"},"470":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMenuClicked"},"471":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"472":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFileDropEvent"},"473":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFileDropEvent"},"474":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"475":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onThemeChanged"},"476":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onThemeChanged"},"477":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"478":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"479":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.__constructor"},"480":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"481":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"482":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.event"},"483":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.windowLabel"},"484":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.id"},"485":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent._preventDefault"},"486":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"487":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"488":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"489":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"490":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"491":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"492":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"493":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"494":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType"},"495":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Critical"},"496":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Informational"},"497":{"sourceFileName":"src/window.ts","qualifiedName":"Effect"},"498":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.AppearanceBased"},"499":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Light"},"500":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Dark"},"501":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.MediumLight"},"502":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UltraDark"},"503":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Titlebar"},"504":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Selection"},"505":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Menu"},"506":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Popover"},"507":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Sidebar"},"508":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.HeaderView"},"509":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Sheet"},"510":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.WindowBackground"},"511":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.HudWindow"},"512":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.FullScreenUI"},"513":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Tooltip"},"514":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.ContentBackground"},"515":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UnderWindowBackground"},"516":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UnderPageBackground"},"517":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Mica"},"518":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Blur"},"519":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Acrylic"},"520":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Tabbed"},"521":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.TabbedDark"},"522":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.TabbedLight"},"523":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState"},"524":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.FollowsWindowActiveState"},"525":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.Active"},"526":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.Inactive"},"527":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"528":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"529":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"530":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"531":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"532":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"533":{"sourceFileName":"src/window.ts","qualifiedName":"Effects"},"534":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.effects"},"535":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.state"},"536":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.radius"},"537":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.color"},"538":{"sourceFileName":"src/window.ts","qualifiedName":"Theme"},"539":{"sourceFileName":"src/window.ts","qualifiedName":"TitleBarStyle"},"540":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged"},"541":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.scaleFactor"},"542":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.size"},"543":{"sourceFileName":"src/window.ts","qualifiedName":"FileDropEvent"},"544":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"545":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"546":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"547":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"548":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"549":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"550":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"551":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"552":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions"},"553":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.url"},"554":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.center"},"555":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.x"},"556":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.y"},"557":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.width"},"558":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.height"},"559":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minWidth"},"560":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minHeight"},"561":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxWidth"},"562":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxHeight"},"563":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.resizable"},"564":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.title"},"565":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fullscreen"},"566":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.focus"},"567":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.transparent"},"568":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximized"},"569":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.visible"},"570":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.decorations"},"571":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.alwaysOnTop"},"572":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.contentProtected"},"573":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.skipTaskbar"},"574":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.shadow"},"575":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fileDropEnabled"},"576":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.theme"},"577":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.titleBarStyle"},"578":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.hiddenTitle"},"579":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.acceptFirstMouse"},"580":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.tabbingIdentifier"},"581":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.userAgent"},"582":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.incognito"},"583":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximizable"},"584":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minimizable"},"585":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.closable"},"586":{"sourceFileName":"src/window.ts","qualifiedName":"Color"},"587":{"sourceFileName":"src/app.ts","qualifiedName":""},"588":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"589":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"590":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"591":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"592":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"593":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"594":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"595":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"596":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"597":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"598":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize"},"599":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize"},"600":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition"},"601":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition"}}} |