Skip to main content

SipaOnsenHooks

SipaOnsenHooks

SipaOnsenHooks

App hook manager extending SipaHooks with additional hooks for OnsenUI.

SipaOnsenHooks.beforeShowPage(type, func, page_id)

Set, remove or trigger event 'beforeShowPage'

ParamTypeDescription
typeSipaHooks.HookType
funcfunctionfunction to set or remove, ignored if parameter type is 'trigger'
page_idstring

SipaOnsenHooks.beforeHidePage(type, func, page_id)

Set, remove or trigger event 'beforeHidePage'

ParamTypeDescription
typeSipaHooks.HookType
funcfunctionfunction to set or remove, ignored if parameter type is 'trigger'
page_idstring