WeChat Mini Program API Set Navigation Bar


wx.setNavigationBarTitle(OBJECT)


Dynamicly set the title of the current page

OBJECT parameter description:

QQ截图20170208131958.png

Sample code:

wx.setNavigationBarTitle({
  title:"当前页面"
})

wx.showNavigationBarLoading()


Display navigation bar loading animation on the current page

wx.hideNavigationBarLoading()


Hide navigation bar loading animation