This article mainly introduces the detailed description of the small program loading and the relevant information of the instance code. if you need more information, refer to the next article. it mainly introduces the detailed description of the small program loading and the relevant information of the instance code, for more information, see
Small program loading
Attribute name |
Type |
Default value |
Description |
Hidden |
Boolean |
False |
Hide or not |
Sample code:
Loading...
Click to bring up loading
Page({ data: { hidden: true }, loadingTap: function(){ this.setData({ hidden: false }); var that = this; setTimeout(function(){ that.setData({ hidden: true }); that.update(); }, 3000); }})
Thank you for reading this article. I hope it will help you. thank you for your support for this site!
For more details about the small program loading and related articles about the instance code, please follow the PHP Chinese network!