mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[v3 windows] Fix screen example
This commit is contained in:
parent
ffbe67e21f
commit
b517461fbe
2 changed files with 25 additions and 25 deletions
44
v3/STATUS.md
44
v3/STATUS.md
|
|
@ -109,8 +109,8 @@ Webview Window Interface Methods
|
|||
|
||||
| Feature | Windows | Linux | Mac | Notes |
|
||||
|---------|---------|-------|-----|-------|
|
||||
| SetText | | | Y | |
|
||||
| Text | | | Y | |
|
||||
| SetText | Y | | Y | |
|
||||
| Text | Y | | Y | |
|
||||
|
||||
### ContextMenu
|
||||
|
||||
|
|
@ -206,7 +206,7 @@ To log or not to log? System logger vs custom logger.
|
|||
|
||||
| Event | Windows | Linux | Mac | Notes |
|
||||
|--------------------------|---------|-------|-----|-------|
|
||||
| Default Application Menu | | | Y | |
|
||||
| Default Application Menu | Y | | Y | |
|
||||
|
||||
## Tray Menus
|
||||
|
||||
|
|
@ -344,23 +344,23 @@ TODO:
|
|||
|
||||
## Examples
|
||||
|
||||
| Example | Windows | Linux | Mac |
|
||||
|--------------|--------------------|-------|-----|
|
||||
| binding | NO | | |
|
||||
| build | Yes (Debug + Prod) | | |
|
||||
| clipboard | NO | | |
|
||||
| contextmenus | Yes | | |
|
||||
| dialogs | Almost | | |
|
||||
| drag-n-drop | NO | | |
|
||||
| events | NO | | |
|
||||
| frameless | NO | | |
|
||||
| kitchensink | Yes | | |
|
||||
| menu | Yes | | |
|
||||
| plain | Yes | | |
|
||||
| plugins | | | |
|
||||
| screen | | | |
|
||||
| systray | | | |
|
||||
| window | | | |
|
||||
| windowjs | | | |
|
||||
| wml | | | |
|
||||
| Example | Windows | Linux | Mac | Notes |
|
||||
|--------------|--------------------|-------|-----|-------------------------|
|
||||
| binding | NO | | | |
|
||||
| build | Yes (Debug + Prod) | | | |
|
||||
| clipboard | NO | | | |
|
||||
| contextmenus | Yes | | | |
|
||||
| dialogs | Almost | | | |
|
||||
| drag-n-drop | NO | | | |
|
||||
| events | NO | | | |
|
||||
| frameless | NO | | | |
|
||||
| kitchensink | Yes | | | |
|
||||
| menu | Yes | | | |
|
||||
| plain | Yes | | | |
|
||||
| plugins | | | | Just needs StartAtLogin |
|
||||
| screen | Yes | | | |
|
||||
| systray | | | | |
|
||||
| window | | | | |
|
||||
| windowjs | | | | |
|
||||
| wml | | | | |
|
||||
|
||||
|
|
|
|||
|
|
@ -53,10 +53,10 @@
|
|||
let html = "";
|
||||
for (let i = 0; i < result.length; i++) {
|
||||
html += "<article class='center'><div class='monitor'><div style='padding:5px;'>";
|
||||
let hidpi = result[i].scale === 2 ? " (HiDPI)" : "";
|
||||
html += "<h3 class='center'>"+result[i].name+"</h3>";
|
||||
let hidpi = result[i].Scale === 2 ? " (HiDPI)" : "";
|
||||
html += "<h3 class='center'>"+result[i].Name+"</h3>";
|
||||
html += "<h4 class='center'>"+hidpi+"</h4>";
|
||||
html += "<h4 class='center'>"+result[i].size.width+"x"+result[i].size.height+"</h4>";
|
||||
html += "<h4 class='center'>"+result[i].Size.Width+"x"+result[i].Size.Height+"</h4>";
|
||||
html += "</div></div></article>";
|
||||
}
|
||||
document.body.innerHTML = html;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue