Andreas Deininger
868931fe72
Fix typos ( #3628 )
...
* Fix typos
* Update howdoesitwork.mdx
* Added entry to changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-08-20 19:22:43 +10:00
Casey Mulcahy
311aee30b2
Fix docs for JS return types in Window API ( #3247 )
...
* Fix docs for JS return types in Window API
These functions return promises, not raw values.
* Update changelog.mdx for Window API docs fix
* Fix non-versioned docs for JS Window API return types
* Fix docs typo
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-03-24 17:14:32 +11:00
Andreas Christou
886bcc7b47
Add print functionality to v2 ( #2822 )
...
* Add print functionality to v2
* Update changelog
* Update runtime docs
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-09-06 07:55:36 +10:00
IAFEnvoy
4e539188e0
Update window.mdx ( #2859 )
2023-08-29 08:12:10 +10:00
Misite Bao
73caeb9793
docs: fix and sync documents ( #2135 )
...
* docs: standardize JavaScript and TypeScript name writing
* docs: sync translated documents
* docs: fix broken link
* docs: sync translated documents
2022-11-28 20:13:22 +11:00
Lea Anthony
eee6797907
Add WindowExecJS method ( #1927 )
...
* Add WindowExecJS
* [devserver] Embed the base frontend into the DevServer struct
* Update docs
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-10-05 08:44:23 +11:00
Misite Bao
e9b2c15664
feat: optimize documentation website ( #1849 )
...
* fix(website): fix i18n configuration
* feat: add i18n file to auto generate code
* feat: move the crowdin configuration file to the website directory
* feat(website): add crowdin dependencies and scripts
* feat: add COC
* feat: use escape hatch syntax to wrap JSX code in MDX files
* feat: remove ach language
* feat: generate default language configuration
* feat: remove compare link
* feat: add COC link
* feat(website): update documentation
* feat: use escape hatch syntax to wrap JSX code in MDX files
* style: add prettier
* style: format mdx files
* chore: remove prettier command
* feat: update en docs
* feat: sync Chinese documents
* feat: update doc
* Update website/src/pages/coc.mdx
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-18 22:01:50 +10:00
ZanderCodes
70c484f603
Add Some WindowState ( #1349 )
...
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen
Solve conflicts
# Conflicts:
# v2/internal/frontend/desktop/darwin/WailsContext.m
# v2/internal/frontend/desktop/darwin/frontend.go
# v2/internal/frontend/desktop/linux/window.go
# v2/internal/frontend/desktop/windows/window.go
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen
Solve conflict
# Conflicts:
# v2/pkg/runtime/window.go
* Forgot some function to use it
# Conflicts:
# v2/internal/frontend/desktop/darwin/WailsContext.h
# v2/internal/frontend/desktop/windows/win32/consts.go
# v2/internal/frontend/desktop/windows/win32/window.go
* Modify the instructions
# Conflicts:
# v2/internal/frontend/devserver/devserver.go
* Add Functions to DevServer
# Conflicts:
# v2/internal/frontend/dispatcher/systemcalls.go
# v2/internal/frontend/runtime/desktop/window.js
# v2/internal/frontend/runtime/package-lock.json
# v2/internal/frontend/runtime/runtime_prod_desktop.js
# v2/internal/frontend/runtime/wrapper/runtime.d.ts
# v2/internal/frontend/runtime/wrapper/runtime.js
* Add Callback and JavaScript Functions
# Conflicts:
# v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js
# v2/internal/frontend/runtime/package-lock.json
# v2/internal/frontend/runtime/runtime_dev_desktop.js
* Remove Merge lines
* Fix IsMaximised
* Add WindowState Docs
* Update docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-30 06:52:01 +10:00
Lea Anthony
5a3af94772
Documentation update + refactor
2022-08-27 11:17:03 +10:00
Misite Bao
cb6064ff39
feat(website): repair document content ( #1775 )
...
* docs: update changelog
* feat: update website config
* feat(website): add formatting configuration
* docs: fix image resource paths and format documents
* feat(website): update community guide page
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-22 19:59:28 +10:00
Lea Anthony
3e42d2da05
Rename WindowSetRGBA -> WindowSetBackgroundColour ( #1506 )
...
* Rename WindowSetRGBA -> WindowSetBackgroundColour
* Fix Typos
2022-06-29 22:31:49 +10:00
chenxiao
072929689c
feature: add runtime func WindowSetAlwaysOnTop ( #1442 )
...
* feature: add runtime func WindowSetAlwaysOnTop
* add runtime WindowSetUnalwaysOnTop
* add JavaScript runtime method , docs update
* WindowSetAlwaysOnTop(b bool)
* Add AlwaysOnTop for MacOS
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-06-22 20:55:02 +10:00
Lea Anthony
f6257d3d31
Add Environment
and WindowReloadApp
calls to runtime. Updated default templates.
2022-04-20 20:28:41 +10:00
Sebastian Bauer
7dd3f96915
[Feature/1149] Dark mode: functions for manually switching theme ( #1291 )
...
* [Feature/1149] Dark mode: functions for manually switching theme
2022-04-01 08:21:37 +11:00
Lea Anthony
93491eb2eb
Feature/align api ( #1161 )
...
* Fix WindowSetRGBA API
* Change WindowUnFullscreen -> WindowUnfullscreen for consistency
RGBA bugfix
2022-02-19 20:29:55 +11:00
Lea Anthony
f059c35d9e
Feature: WindowToggleMaximise ( #1159 )
...
* [windows] Add WindowToggleMaximise
* Add mac support
* Update docs
* [linux] Toggle Maximise
2022-02-18 20:28:16 +11:00
Wakeful-Cloud
01dd0cd0b2
Fix TypeScript runtime declaration
2021-10-24 04:05:47 +00:00
Lea Anthony
589eb3864f
[v2] Docs update
2021-09-27 19:35:30 +10:00