Navigation component
# Navigation component description
| Component | Description | Minimum version |
|---|---|---|
| navigator | Page link | 1.0.0 |
| functional-page-navigator | Used to jump to the plug-in feature page |
# navigator
| Properties | Type | The default value is | Required | Description | Minimum version |
|---|---|---|---|---|---|
| url | string | No | The jump link within the current Applet | ||
| open-type | navigate | No | Jump mode | ||
| hover-class | string | navigator-hover | No | Specifies the style class at tap time, and when hover-class="none", there is no click-on effect | |
| hover-stay-time | number | 600 | No | The click state retention time after the finger is released, | in milliseconds |
# The legal value of the open-type
| The value | Description | Minimum version |
|---|---|---|
| navigate | Features that correspond to navigateTo or navigateToMiniProgram | |
| redirect | redirectTo | |
| switchTab | switchTab | |
| reLaunch | reLaunch | |
| navigateBack | navigateBack | |
| exit | Exiting the Mini App takes effect when target="miniProgram" takes effect |
Last update: 2022/08/11, 21:21:29