Update documentations for new version
This commit is contained in:
parent
ded7d47e1e
commit
d3a7d577f7
9 changed files with 197 additions and 76 deletions
|
@ -6,6 +6,43 @@ Type: Document
|
|||
import {Code} from "astro:components"
|
||||
import {Zorn} from "@minpluto/zorn"
|
||||
|
||||
<Zorn
|
||||
PlayerName="ennie_and_yoyki"
|
||||
Poster="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Poster.png"
|
||||
Video="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Ennie%20and%20Yoyki:%20Non-Girly%20Games.mp4"
|
||||
ShowPlaybackRate
|
||||
Settings={
|
||||
[
|
||||
{
|
||||
"Type": "Button",
|
||||
"Name": "Stats for Geeks",
|
||||
"Action": "null",
|
||||
},
|
||||
{
|
||||
"Type": "Separator"
|
||||
},
|
||||
{
|
||||
"Type": "Link",
|
||||
"Name": "Open Video URL",
|
||||
"Action": "#",
|
||||
},
|
||||
{
|
||||
"Type": "Link",
|
||||
"Name": "Download",
|
||||
"Action": "#",
|
||||
},
|
||||
{
|
||||
"Type": "Link",
|
||||
"Name": "Embed",
|
||||
"Action": "#",
|
||||
},
|
||||
{
|
||||
"Type": "Separator"
|
||||
},
|
||||
]
|
||||
}
|
||||
/>
|
||||
|
||||
## Automated items
|
||||
|
||||
When enabling certain functions and features of Zorn, certain items will automatically be added to the main settings menu. As an example, if you enable `Milieu`, an item named "Milieu" will be added and it's setup to open the Milieu menu.
|
||||
|
@ -31,9 +68,9 @@ To setup the settings menu with your own custom items, you'll need to setup an a
|
|||
"Name": "Menu Item Button",
|
||||
"Action": "null",
|
||||
},
|
||||
{
|
||||
"Type": "Separator"
|
||||
},
|
||||
{
|
||||
"Type": "Separator"
|
||||
},
|
||||
{
|
||||
"Type": "Link",
|
||||
"Name": "Menu Item Link",
|
||||
|
@ -46,7 +83,7 @@ To setup the settings menu with your own custom items, you'll need to setup an a
|
|||
|
||||
| Variable | Option |
|
||||
|--------------------|---------------------------------------------------------------|
|
||||
| Type | `Button` or `Link` |
|
||||
| Type | `Button`, `Link`, or `Separator` |
|
||||
| Name | string |
|
||||
| Action (Button) | `onclick` - Use JavaScript |
|
||||
| Action (Link) | `href` - Use a link |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue