Skip to main content
Version: v1.0

hmApp.gotoPage(option)

Skip to next page.

Type​

(option: Option) => void

Parameters​

Option: object​

propertydescriptionrequiredtypedefault
urljump-pathYESstring-
paramParameters passed to the onInit life cycle in the Page constructorNOstring-

Code example​

// loading pages/index2.js
hmApp.gotoPage({ url: 'pages/index2', param: '...' })