typofix
All checks were successful
/ mirror_to_github (push) Successful in 35s
/ test (push) Successful in 8s

This commit is contained in:
Leon van Kammen 2025-04-01 11:29:42 +02:00
parent 46a61279db
commit d4bddd7d38
2 changed files with 29 additions and 24 deletions

View file

@ -94,15 +94,16 @@ a Linux ISO image (via WASM).
> depends on [AFRAME.utils.require](com/require.js) > depends on [AFRAME.utils.require](com/require.js)
| property | type | default | info | | property | type | default | info |
|------------------|-----------|------------------------|------| |-------------------|-----------|------------------------|------|
| `iso` | `string` | https`//forgejo.isvery.ninja/assets/xrsh-buildroot/main/xrsh.iso" | | | `iso` | `string` | https`//forgejo.isvery.ninja/assets/xrsh-buildroot/main/xrsh.iso" | |
| `overlayfs` | `string` | *WORK-IN-PROGRESS* | | | `overlayfs` | `string` | '' | zip URL/file to autoextract on top of filesystem |
| `width` | `number` | 800 || | `width` | `number` | 800 ||
| `height` | `number` | 600 || | `height` | `number` | 600 ||
| `depth` | `number` | 0.03 || | `depth` | `number` | 0.03 ||
| `lineHeight` | `number` | 18 || | `lineHeight` | `number` | 18 ||
| `bootmenu` | `boolean` | true | give user choice [or boot straight into ISO ] | | `bootMenu` | `string` | "" | character to auto-enter in bootMenu |
| `padding` | `number`` | 18 | | | `bootMenuURL` | `string` | "" | character to auto-enter in bootMenu when URL has fragment (#foo.zip e.g.) |
| `padding` | `number` | 18 | |
| `maximized` | `boolean` | false | | | `maximized` | `boolean` | false | |
| `minimized` | `boolean` | false | | | `minimized` | `boolean` | false | |
| `muteUntilPrompt` | `boolean` | true | mute stdout until a prompt is detected in ISO | | `muteUntilPrompt` | `boolean` | true | mute stdout until a prompt is detected in ISO |
@ -149,14 +150,18 @@ NOTE: For convenience reasons, events are forwarded between com/isoterminal.js,
## [launcher](com/launcher.js) ## [launcher](com/launcher.js)
displays app (icons) for enduser to launch displays app (icons) in 2D and 3D handmenu (enduser can launch desktop-like 'apps')
```html
<a-entity launcher>
<a-entity launch="component: helloworld; foo: bar"><a-entity>
</a-entity>
```javascript
<a-scene launcher/>
``` ```
| property | type | example | | property | type | example |
|--------------|--------------------|----------------------------------------------------------------------------------------| |--------------|--------------------|----------------------------------------------------------------------------------------|
| `attach` | `selector` | hand or object to attach menu to |
| `registries` | `array` of strings | `<a-entity launcher="registers: https://foo.com/index.json, ./index.json"/>` | | `registries` | `array` of strings | `<a-entity launcher="registers: https://foo.com/index.json, ./index.json"/>` |
| event | target | info | | event | target | info |

View file

@ -20,8 +20,8 @@
* | `depth` | `number` | 0.03 || * | `depth` | `number` | 0.03 ||
* | `lineHeight` | `number` | 18 || * | `lineHeight` | `number` | 18 ||
* | `bootMenu` | `string` | "" | character to auto-enter in bootMenu | * | `bootMenu` | `string` | "" | character to auto-enter in bootMenu |
* | `bootMenuURL` | `string` | "" | character to auto-enter in bootmeun when URL has fragment (#foo.zip e.g.) | * | `bootMenuURL` | `string` | "" | character to auto-enter in bootMenu when URL has fragment (#foo.zip e.g.) |
* | `padding` | `number`` | 18 | | * | `padding` | `number` | 18 | |
* | `maximized` | `boolean` | false | | * | `maximized` | `boolean` | false | |
* | `minimized` | `boolean` | false | | * | `minimized` | `boolean` | false | |
* | `muteUntilPrompt` | `boolean` | true | mute stdout until a prompt is detected in ISO | * | `muteUntilPrompt` | `boolean` | true | mute stdout until a prompt is detected in ISO |