WeChat Mini Program Basic Components
Basic components
The MINA framework provides developers with a series of basic components, and developers can quickly develop by combining these basic components.
What is a component:
- Component is the basic unit of the view layer.
- The component comes with some functions and WeChat style styles.
A component usually includes
start tag
andend tag
,attribute
is used to modify this component,content
Within two tags.<tagname property="value"> Content goes here ... </tagename>
Note: All components and properties are lowercase, connected with hyphens
-
Property type
Common attribute types
Attributes common to all components:
Special attributes
Almost all components have their own defined attributes, which can modify the function or style of the component. Please refer to the definition of each component.
Component list
Basic components are divided into the following eight categories:
View Container:
Basic Content:
##Form:
##Operation Feedback (Interaction):
Navigation:
##Multimedia (Media):
##Map:
Component name
##map | |
---|---|
Canvas: |
Component name
canvas | |
---|---|