Files
KSpigot/docs/-k-spigot/net.axay.kspigot.inventory/-inventory-g-u-i-page-builder/page-changer.md
bluefireoly 69b2e6cd17 Updated docs
2020-10-16 02:13:42 +02:00

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)?)