Updated docs
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: button -
|
||||
---
|
||||
//[KSpigot](../../index.md)/[net.axay.kspigot.inventory](../index.md)/[InventoryGUIPageBuilder](index.md)/[button](button.md)
|
||||
|
||||
|
||||
|
||||
# button
|
||||
[jvm]
|
||||
Brief description
|
||||
|
||||
|
||||
A button is an item protected from any player actions. If clicked, the specified onClick function is invoked.
|
||||
|
||||
|
||||
Content
|
||||
fun [button](button.md)(slots: [InventorySlotCompound](../-inventory-slot-compound/index.md)<[T](index.md)>, itemStack: ItemStack, onClick: ([InventoryGUIClickEvent](../-inventory-g-u-i-click-event/index.md)<[T](index.md)>) -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user