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>
This commit is contained in:
Andreas Christou
2023-09-06 07:55:36 +10:00
committed by GitHub
co-authored by Lea Anthony
parent d599fd80cb
commit 886bcc7b47
10 changed files with 65 additions and 0 deletions
@@ -233,6 +233,13 @@ Any value that is not 0 will be considered 255.
Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`<br/>
JS: `WindowSetBackgroundColour(R, G, B, A)`
### WindowPrint
Opens tha native print dialog.
Go: `WindowPrint(ctx context.Context)`<br/>
JS: `WindowPrint()`
## TypeScript Object Definitions
### Position