onOpened

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

Hook called when the page is opened, either when the page is clicked to, or it's the first page of the parent inventory

Parameters

action

hook when the page is opened