5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 15:11:53 +08:00

Update Screen docs

This commit is contained in:
Lea Anthony 2023-08-04 08:18:34 +10:00
parent 2859143b2f
commit 083e6b03f3
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
3 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,7 @@ JS: `ScreenGetAll()`
#### Screen #### Screen
Go struct:
```go ```go
type Screen struct { type Screen struct {
IsCurrent bool IsCurrent bool
@ -25,6 +26,7 @@ type Screen struct {
} }
``` ```
Typescript interface:
```ts ```ts
interface Screen { interface Screen {
isCurrent: boolean; isCurrent: boolean;

View File

@ -16,6 +16,7 @@ JS: `ScreenGetAll()`
#### Screen #### Screen
Go struct:
```go ```go
type Screen struct { type Screen struct {
IsCurrent bool IsCurrent bool
@ -25,6 +26,7 @@ type Screen struct {
} }
``` ```
Typescript interface:
```ts ```ts
interface Screen { interface Screen {
isCurrent: boolean; isCurrent: boolean;

View File

@ -16,6 +16,7 @@ JS: `ScreenGetAll()`
#### Screen #### Screen
Go struct:
```go ```go
type Screen struct { type Screen struct {
IsCurrent bool IsCurrent bool
@ -25,6 +26,7 @@ type Screen struct {
} }
``` ```
Typescript interface:
```ts ```ts
interface Screen { interface Screen {
isCurrent: boolean; isCurrent: boolean;