21 lines
698 B
Markdown
21 lines
698 B
Markdown
---
|
|
title: pageChanger -
|
|
---
|
|
//[KSpigot](../../index.md)/[net.axay.kspigot.inventory](../index.md)/[InventoryGUIPageBuilder](index.md)/[pageChanger](page-changer.md)
|
|
|
|
|
|
|
|
# pageChanger
|
|
[jvm]
|
|
Brief description
|
|
|
|
|
|
This is a button which loads the specified toPage if clicked.
|
|
|
|
|
|
Content
|
|
fun [pageChanger](page-changer.md)(slots: [InventorySlotCompound](../-inventory-slot-compound/index.md)<[T](index.md)>, itemStack: ItemStack, toPage: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), onChange: ([InventoryGUIClickEvent](../-inventory-g-u-i-click-event/index.md)<[T](index.md)>) -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)?)
|
|
|
|
|
|
|