Lines Matching refs:navigation
3 The **Navigation** component is the root view container for navigation. It typically functions as t…
38 Binds a navigation stack to the **Navigation** component.
48 | pathInfos | [NavPathStack](#navpathstack10) | Yes | Information about the navigation stack.|
258 Sets the width of the navigation bar. This attribute takes effect only when the **Navigation** comp…
268 … Yes | Width of the navigation bar.<br>Default value: **240**<br>Unit: vp<br>**undefined**: No ac…
274 Sets the position of the navigation bar. This attribute takes effect only when the **Navigation** c…
284 | value | [NavBarPosition](#navbarposition9) | Yes | Position of the navigation bar.<br>Default v…
290 Sets the display mode of the navigation bar. Available options are **Stack**, **Split**, and **Auto…
300 | value | [NavigationMode](#navigationmode9) | Yes | Display mode of the navigation bar.<br>Defau…
327 …navigation bar. If this parameter is set to **true**, the navigation bar, including the title bar,…
339 | value | boolean | Yes | Whether to hide the navigation bar.<br>Default value: **false**|
355 …on** component. **name**: name of the navigation destination page. **param**: detailed parameters …
361 Sets the minimum and maximum widths of the navigation bar (effective in dual-column mode).
373 …](ts-types.md#dimension10)] | Yes | Minimum and maximum widths of the navigation bar.<br>Default …
379 Sets the minimum width of the navigation bar content area (effective in dual-column mode).
391 …the navigation bar content area.<br>Default value: **360**<br>Unit: vp<br>**undefined**: No action…
399 … small as the value specified by **minContentWidth**.b. Scale down the navigation bar until its wi…
445 …e are no **NavDestination** pages on the navigation stack) or the top **NavDestination** page on t…
447 …ply. Otherwise, the settings of the top **NavDestination** page on the navigation stack will apply.
457 … the **Navigation** component will be automatically recreated, and the navigation stack will be re…
513 Triggered when the navigation bar visibility status changes.
523 …isVisible | boolean | Yes | Whether the navigation bar is visible. The value **true** means that …
567 Implements a navigation stack, which allows for inheritance since API version 12. You can add new p…
574 > 2. Avoid relying on lifecycle event listeners as a means to manage the navigation stack.
588 Pushes the navigation destination page specified by **info** onto the navigation stack.
598 | info | [NavPathInfo](#navpathinfo10) | Yes | Information about the navigation destination page.|
605 Pushes the navigation destination page specified by **info** onto the navigation stack. Depending o…
615 | info | [NavPathInfo](#navpathinfo10) | Yes | Information about the navigation destination page.|
622 Pushes the navigation destination page specified by **name**, with the data specified by **param**,…
632 | name | string | Yes | Name of the navigation destination page. |
633 | param | unknown | Yes | Detailed parameters of the navigation destination page.|
640 Pushes the navigation destination page specified by **name**, with the data specified by **param**,…
650 | name | string | Yes | Name of the navigation destination page. |
651 | param | Object | Yes | Detailed parameters of the navigation destination page.|
659 Pushes the navigation destination page specified by **info** onto the navigation stack. This API us…
669 | info | [NavPathInfo](#navpathinfo10) | Yes | Information about the navigation destination page.|
693 Pushes the navigation destination page specified by **info** onto the navigation stack. This API us…
703 | info | [NavPathInfo](#navpathinfo10) | Yes | Information about the navigation destination page.|
727 Pushes the navigation destination page specified by **name**, with the data specified by **param**,…
737 | name | string | Yes | Name of the navigation destination page. |
738 | param | Object | Yes | Detailed parameters of the navigation destination page.|
762 Pushes the navigation destination page specified by **name**, with the data specified by **param**,…
772 | name | string | Yes | Name of the navigation destination page. |
773 | param | Object | Yes | Detailed parameters of the navigation destination page.|
798 Replaces the top of the navigation stack with the page specified by **info**.
808 …Info](#navpathinfo10) | Yes | Parameters of the page to replace the top of the navigation stack.|
815 Replaces the top page on the navigation stack. Depending on the [LaunchMode](#launchmode12) specifi…
825 | info | [NavPathInfo](#navpathinfo10) | Yes | Parameters for the new top page of the navigation …
832 Replaces the top of the navigation stack with the page specified by **name**.
842 | name | string | Yes | Name of the navigation destination page. |
843 | param | Object | Yes | Detailed parameters of the navigation destination page.|
850 Removes the navigation destination pages specified by **indexes** from the navigation stack.
860 | indexes | Array<number\> | Yes | Array of indexes of the navigation destination pages to remo…
866 | number | Number of the navigation destination pages removed.|
872 Removes the navigation destination page specified by **name** from the navigation stack.
882 | name | string | Yes | Name of the navigation destination page to remove. |
888 | number | Number of the navigation destination pages removed.|
894 Removes the navigation destination page specified by **navDestinationId** from the navigation stack…
904 | navDestinationId | string | Yes | Unique ID of the navigation destination page to remove. |
916 Pops the top element out of the navigation stack.
932 | [NavPathInfo](#navpathinfo10) | Returns the information about the navigation destination page at …
933 | undefined | Returns **undefined** if the navigation stack is empty. |
939 Pops the top element out of the navigation stack and invokes the **onPop** callback to pass the pag…
956 | [NavPathInfo](#navpathinfo10) | Returns the information about the navigation destination page at …
957 | undefined | Returns **undefined** if the navigation stack is empty. |
963 Pops pages until the first navigation destination page that matches **name** from the bottom of the…
973 | name | string | Yes | Name of the navigation destination page.|
980 …r | Returns the index of the first navigation destination page that matches **name** from the bott…
986 Pops pages until the first navigation destination page that matches **name** from the bottom of the…
996 | name | string | Yes | Name of the navigation destination page.|
1004 …r | Returns the index of the first navigation destination page that matches **name** from the bott…
1010 Returns the navigation stack to the page specified by **index**.
1020 | index | number | Yes | Index of the navigation destination page.|
1027 Returns the navigation stack to the page specified by **index** and invokes the **onPop** callback …
1037 | index | number | Yes | Index of the navigation destination page.|
1045 Moves the first navigation destination page that matches **name** from the bottom of the navigation…
1055 | name | string | Yes | Name of the navigation destination page.|
1062 …r | Returns the index of the first navigation destination page that matches **name** from the bott…
1068 Moves to the top of the navigation stack the navigation destination page specified by **index**.
1078 | index | number | Yes | Index of the navigation destination page.|
1085 Clears the navigation stack.
1101 Obtains the names of all navigation destination pages in the navigation stack.
1111 | Array<string\> | Names of all navigation destination pages in the navigation stack.|
1117 Obtains the parameter information of the navigation destination page specified by **index**.
1127 | index | number | Yes | Index of the navigation destination page.|
1133 | unknown | Parameter information of the matching navigation destination page.|
1140 Obtains the parameter information of all the navigation destination pages that match **name**.
1150 | name | string | Yes | Name of the navigation destination page.|
1156 | Array<unknown\> | Parameter information of all the matching navigation destination pages.|
1162 Obtains the indexes of all the navigation destination pages that match **name**.
1172 | name | string | Yes | Name of the navigation destination page.|
1178 | Array<number\> | Indexes of all the matching navigation destination pages.|
1216 …navigation path stack.<br>When a **Navigation** component is nested (directly or indirectly) insid…
1232 Sets the interception callback for navigation page redirection.
1242 …rception](#navigationinterception12)| Yes| Object to be intercepted during navigation redirection.|
1246 Provides the navigation page information.
1258 | name | string | Yes | Name of the navigation destination page. |
1259 | param | unknown | Yes | Detailed parameters of the navigation destination page.|
1260 …opinfo11)> | No| Callback returned when [pop](#pop11) is called on the navigation destination page…
1261 …navigation destination page is the entry page.<br>Default value: **false**<br>The value of this pa…
1269 | name | string | Yes | Name of the navigation destination page.<br>**Atomic service API**: Thi…
1270 | param | unknown | No | Detailed parameters of the navigation destination page.<br>**Atomic serv…
1271 …opinfo11)> | No| Callback returned when [pop](#pop11) is called on the navigation destination page…
1272 …navigation destination page is the entry page.<br>Default value: **false**<br>The value of this pa…
1276 Provides the callback information returned when a page is popped out of the navigation stack.
1297 | name | string | No| Name of the navigation destination. If the view is a root view (**NavBar**), …
1298 | index | number | Yes| Index of the navigation destination in the navigation stack. If the view is…
1299 …c-components-navdestination.md#navdestinationmode11) | No| Mode of the navigation destination. If …
1300 | param<sup>12+</sup> | Object | No| Parameters loaded on the navigation destination page.|
1301 | navDestinationId<sup>12+</sup> | string | No| Unique identifier of the navigation destination pag…
1305 …l. You need to implement this protocol to define the redirection animation of the navigation route.
1350 Cancels this interactive transition animation, restoring the navigation stack to its state before p…
1374 Describes the object to be intercepted during navigation redirection.
1390 Represents the interception callback before and after the navigation page.
1398 …1) \|[NavBar](#navbar12) | Yes| Information about the top page in the navigation stack before pag…
1399 …11) \|[NavBar](#navbar12) | Yes| Information about the top page in the navigation stack after page…
1415 | mode | [NavigationMode](#navigationmode9) | Yes| Display mode of the navigation bar.|
1421 Defines the name of the navigation home page.
1524 | Stack | The navigation bar and content area are displayed independently of each other, which are …
1525 …navigation bar and content area are displayed in different columns.<br>The values of **navBarWidth…
1585 | STANDARD | Default navigation stack operation mode.<br>In this mode, push operations add the spec…
1586 | MOVE_TO_TOP_SINGLETON | This mode searches from the bottom to the top of the navigation stack. If…
1587 | POP_TO_SINGLETON | This mode searches from the bottom to the top of the navigation stack. If a **…
1621 This example demonstrates the layout of a navigation page, including the title bar (**title**), men…
1750 console.log("target page is navigation home");
1760 …fter the page is navigated. Stack operations in this callback are effective in the next navigation.
1767 console.log("current transition is from navigation home");
1782 console.log(`current navigation mode is ${mode}`);
1795 …nfos.pushPath({ name:'pageOne'}) // Push the navigation destination page specified by name to the …
1838 …pageTwo', tmp) // Push the navigation destination page specified by name, with the data specified …
1853 …Name('pageTwo') // Pop the first navigation destination page that matches the value of name to the…
1862 …this.pageInfos.popToIndex(1) // Return the navigation stack to the navigation destination page tha…
1870 ….pageInfos.moveToTop('pageTwo') // Move to the top of the navigation stack the first navigation de…
1879 …this.pageInfos.moveIndexToTop(1) // Move to the top of the navigation stack the navigation destina…
1887 this.pageInfos.clear() // Clear the navigation stack.
1895 …console.log('Obtained the names of all pages in the navigation stack', JSON.stringify(this.pageInf…
1896 …console.log('Obtained the parameter information of the navigation destination page specified by in…
1898 …console.log('Obtained the parameter information of all the navigation destination pages that match…
1900 … console.log('Obtains the indexes of all the navigation destination pages that match name.',
1907 …const popDestinationInfo = this.pageInfos.pop() // Pop the top element out of the navigation stack.
1989 
2165 …// Push the navigation destination page specified by name, with the data specified by param, to th…
2267 …// Push the navigation destination page specified by name, with the data specified by param, to th…
2490 …o.pushPath({ name: 'pageOne' }); // Push the navigation destination page specified by name to the …
2538 …}); // Push the navigation destination page specified by name, with the data specified by param, t…
2550 …}); // Push the navigation destination page specified by name, with the data specified by param, t…
2559 …// Push the navigation destination page specified by name, with the data specified by param, to th…
2578 …// Push the navigation destination page specified by name, with the data specified by param, to th…
2594 …o', param: new ParamWithOp() }); // Push the navigation destination page specified by name to the …
2603 …ageTwo', tmp); // Push the navigation destination page specified by name, with the data specified …
2612 …// Push the navigation destination page specified by name, with the data specified by param, to th…
2627 …// Push the navigation destination page specified by name, with the data specified by param, to th…
2641 this.pageInfo.clear(); // Clear the navigation stack.
2646 this.pageInfo.pop({ number: 1 }) // Pop the top element out of the navigation stack.
2691 …ew resultClass(11)); // Move the first navigation destination page that matches name to the top of…
2699 …(0, new resultClass(111)); // Move the navigation destination page specified by index to the top o…
2935 // The parent the parent navigation path stack can be obtained.
2988 1. The navigation stack operation can be conducted even when **NavPathStack** is not declared as a …
3755 This example shows how to implement a custom transition animation for navigation between pages.