Skip to main content

Paged Panel

Implementation channel for paged panels.

Properties

NodeAccepted ValuesDescription
locateString / IntPanel positioning (slot syntax)
layoutString / ListPanel layout
scaleListIntScale
default-pageIntDefault page number
pagesListPanelPaged panels

Example

title: 'Demo'
rows: 3

pageController: &page
material: arrow
name: '&aPage Controller'
lore: |-
Page: {{page get}} / {{page max}}

&eLeft next
&6Right previous
action:
left: page next icon by '>' refresh
right: page previous icon by '>' refresh

pages:
- layout: |-
#########
---------
########>
items:
'#':
material: diamond
'-':
material: emerald
'>':
<<: *page
- layout: |-
##---####
##---####
##---###>
items:
'#':
material: gold
'-':
material: emerald
'>':
<<: *page
- layout: |-
######---
#########
---#####>
items:
'#':
material: leaves
'-':
material: emerald
'>':
<<: *page

paged_panel

tip

This configuration file uses YAML anchors and references. If you are unfamiliar with these operations, please refer to the YAML Tutorial.

Note

Paged panels currently still have certain limitations and instabilities.

It is not recommended to use paged panels for menus that are functionally and content-wise unrelated.