Home >WeChat Applet >Mini Program Development >Detailed explanation of WeChat applet navigator component example

Detailed explanation of WeChat applet navigator component example

高洛峰
高洛峰Original
2017-02-20 14:23:432501browse

This article mainly introduces the relevant information about the detailed explanation of the WeChat applet navigator component instance. Friends in need can refer to it

微信小程序 navigator 组件实例详解

The navigator jump is divided into two states: one One is to close the current page and the other is not to close the current page. Specify using the redirect attribute.

Main attributes:

微信小程序 navigator 组件实例详解

##wxml

<navigator url="../index/index">点击跳转不关闭当前页面</navigator>
<navigator url="../logs/logs" redirect="true" >点击跳转关闭当前页面</navigator>


For more detailed explanations of WeChat applet navigator component examples and related articles, please pay attention to the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn