onClosed

abstract fun onClosed(action: KPage.(parent: KPageInventory) -> Unit)

Hook called when the page is closed, either when the page is clicked away, or the inventory is closed when the page is active

Parameters

action

hook when the page is opened