Lines Matching refs:page
17 You can define the following page lifecycle functions in the .js file of the page.
21 … () => void | Listens for page initialization. | Page initialization is complete. This function is…
22 … onReady | () => void | Listens for page creation. | A page is created. This function is called on…
23 | onShow | () => void | Listens for page display. | The page is displayed. |
24 | onHide | () => void | Listens for page disappearance. | The page disappears. |
25 | onDestroy | () => void | Listens for page destruction. | The page is destroyed. |
26 …ck button action. | The back button is touched.<br/>- true means that the page processes the retur…
27 | onActive()<sup>5+</sup> | () => void | Listens for page activation. | The page is activated. |
28 | onInactive()<sup>5+</sup> | () => void | Listens for page suspension. | The page is suspended. |
31 The lifecycle functions of page A are called in the following sequence:
32 - Open page A: onInit() -> onReady() -> onShow()
34 - Open page B on page A: onHide()
36 - Go back to page A from page B: onShow()
38 - Exit page A: onBackPress() -> onHide() -> onDestroy()
40 - Hide page A: onInactive() -> onHide()
42 - Show background page A on the foreground: onShow() -> onActive()