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'
Param | Type | Description |
---|---|---|
type | SipaHooks.HookType | |
func | function | function to set or remove, ignored if parameter type is 'trigger' |
page_id | string |
SipaOnsenHooks.beforeHidePage(type, func, page_id)
Set, remove or trigger event 'beforeHidePage'
Param | Type | Description |
---|---|---|
type | SipaHooks.HookType | |
func | function | function to set or remove, ignored if parameter type is 'trigger' |
page_id | string |