Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use WeChat Mini Programs content component icon icon

Shulou Source: shulou.com Published: 2022-06-01 05:47:05 09月29日 Update

This article is about how to use WeChat Mini Programs's content component icon icon. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Icon

Icon.

The default value of the attribute name type indicates the type of typeStringicon. Valid values: success, success_no_circle, info, warn, waiting, cancel, download, search, clearsizeNumber23icon size, color in pxcolorColoricon, same as color of css

Example:

Page ({data: {iconSize: [20, 30, 40, 50, 60, 70], iconColor: ['red',' orange', 'yellow',' green', 'rgb (0255255)', 'blue',' purple'], iconType: ['success',' success_no_circle', 'info',' warn', 'waiting',' cancel', 'download',' search' 'clear']}) Thank you for reading! This is the end of the article on "how to use WeChat Mini Programs content component icon icon". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Content icons programs components more articles types good practical valid units size attributes articles valid values see knowledge examples colors references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MariaDB vpn Microsoft Apple