@tauri-apps/plugin-positioner
Enumerations
Position
Well known window positions.
Enumeration Members
BottomCenter
BottomCenter: 5;
Source: index.ts:17
BottomLeft
BottomLeft: 2;
Source: index.ts:14
BottomRight
BottomRight: 3;
Source: index.ts:15
Center
Center: 8;
Source: index.ts:20
LeftCenter
LeftCenter: 6;
Source: index.ts:18
RightCenter
RightCenter: 7;
Source: index.ts:19
TopCenter
TopCenter: 4;
Source: index.ts:16
TopLeft
TopLeft: 0;
Source: index.ts:12
TopRight
TopRight: 1;
Source: index.ts:13
TrayBottomCenter
TrayBottomCenter: 14;
Source: index.ts:26
TrayBottomLeft
TrayBottomLeft: 10;
Source: index.ts:22
TrayBottomRight
TrayBottomRight: 12;
Source: index.ts:24
TrayCenter
TrayCenter: 13;
Source: index.ts:25
TrayLeft
TrayLeft: 9;
Source: index.ts:21
TrayRight
TrayRight: 11;
Source: index.ts:23
Functions
moveWindow()
moveWindow(to): Promise< void >
Moves the Window
to the given Position using WindowExt.move_window()
All positions are relative to the current screen.
Parameters
Parameter | Type | Description |
---|---|---|
to | Position | The Position to move to. |
Returns
Promise
< void
>
Source: index.ts:35
© 2024 Tauri Contributors. CC-BY / MIT