Lines Matching refs:page
15 You can define the following page lifecycle functions in the **.js** file of the page.
19 > To avoid affecting the page switching performance, do not perform complex, time-consuming operati…
23 …() => void | Listens for page initialization. | Page initialization is complete. This function is…
24 …nReady | () => void | Listens for page creation.| A page is created. This function is called onl…
25 | onShow | () => void | Listens for page display. | The page is displayed. …
26 | onHide | () => void | Listens for page hiding. | The page is hidden. |
27 | onDestroy | () => void | Listens for page destruction. | The page is destroyed. …
29 The lifecycle functions of page A are called in the following sequence:
31 - Open page A: Call onInit(), onReady(), and onShow() in sequence.
32 - Open page B on page A: onHide() -> onDestroy()
33 - Go back to page A from page B: onInit() -> onReady() -> onShow()
34 - Exit page A: onHide() -> onDestroy()
35 - Hide page A: onHide()
36 - Show background page A on the foreground: onShow()