Skip to content

Commit

Permalink
add wininfo.reziaable to appdev documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Feb 27, 2024
1 parent 275de38 commit 17e178e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion documentation/appdevt.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ Each app contains a `manifest.json`, which defines the functionality of the app.
- `icon`: `String` - Path (from app directory) to the application's icon. Optional but highly recommended. Anura will display this icon throughout the DE.
- `background`: Background color of iframe while it is loading. Optional.
- `handler`: `String` - Path (from app directory) to a file containing JavaScript to execute at the top-level document. Required if `type` is `"manual"`, ignored otherwise - the top-level document will execute this file as JavaScript.
- `wininfo`: `Object {title, width, height}` - Required if `type` is `"auto"`.
- `wininfo`: `Object {title, width, height, resizable}` - Required if `type` is `"auto"`.

* `wininfo.title`: `String` - The title of the program. Defaults to "". Optional.
* `wininfo.width`: `String` - The default width, in pixels, of the program. Defaults to "1000px". Optional.
* `wininfo.height`: `String` - The default height, in pixels, of the program. Defaults to "500px". Optional.
* `wininfo.resizable`: `Boolean` - Allow users to resize the window for your application. Defaults to `true`. Optional.

# AnuraOS Libraries

Expand Down

0 comments on commit 17e178e

Please sign in to comment.