May 17, 2021 21:00 0 Comment WeChat Mini Program Development Document
WeChat small program operating environment, The operating environment of the small program, WeChat applets run on a variety of platforms: iOS (iPhone/iPad) WeChat clients, Android WeChat clients
May 17, 2021 21:00 0 Comment WeChat Mini Program Development Document
How the initial rendering cache works, How the initial rendering cache works, 支持的组件, 静态初始渲染缓存, Add dynamic content to the initial render cache, The initial render cache, Base library 2.11.1 starts to support, and low versions need to be, compatible., How the initial rendering cache works, The
May 17, 2021 21:00 0 Comment WeChat Mini Program Development Document
Show area dimensions, Show area dimensions, Media Query, 屏幕旋转事件, The response shows a change in the area, Show area dimensions, The display area refers to the area in the small program interface that can be freely l
May 17, 2021 21:00 0 Comment WeChat Mini Program Development Document
WXML node information, WXML node information, WXML node layout intersecting state, Gets node information on the interface, WXML node information, The node information query API can, be used to obtain information such as node properti
May 17, 2021 21:00 0 Comment WeChat Mini Program Development Document
Bidirectional binding syntax, Bidirectional binding syntax, Pass a two-way binding in a custom component, Trigger a two-way binding update in a custom component, Easy two-way binding, Base Library 2.9.3 starts to support, and low versions need to be, compatible., Bidirectional binding syntax, In WXML, the bindi
May 17, 2021 21:00 0 Comment WeChat Mini Program Development Document
What is an event, What is an event, How events are used, Respond to events using the WXS function, The event is detailed, WXS responds to events, Event, What is an event, Events are how the view layer communicates to the logical layer., Events can feedback the user's behavior to the logical laye
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
WeChat gadgets component templates and styles, Component templates and styles, Similar to a page, custom components have their own wxml templates and wxs styles., The component template, Component
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
Use the Component constructor to construct a page, Use the Component constructor to construct a page, Component constructor, The Component constructor can be used to define components, and when you call the Component constructor, you can specify the pr
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
Communication between components, Communication between components, Listen for events, Trigger an event, Gets the component instance, Communication and events between components, Communication between components, There are several basic ways to communicate between components., WXML d
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
Define lifecycle methods, Define lifecycle methods, The life cycle of the page where the component is located, The component lifecycle, The life cycle of a component refers to functions of the component itself that are automatically triggered at a particular po
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
Used in components, Used in components, 同名字段的覆盖和组合规则, Built-in behaviors, behaviors, Behaviors are features used for code sharing between components, similar to "mixins" or "traits" in some programming languages., Each behav
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
Define and use relationships between components, Define and use relationships between components, Associate a class of components, Relations defines the segment, The relationship between components, Define and use relationships between components, Sometimes it is necessary to implement components such as:, <cus
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
Use a data listener, Use a data listener, Listen to the field syntax, The data listener, Data listeners can be used to listen for and respond to changes in any property and data fields., Support starts with the small pro
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
A pure data field in component data, A pure data field in component data, A pure data field in a component property, Use a data listener to listen for pure data fields, Pure data field, Data-only fields are data fields that are not used for interface rendering and can be used to improve page update performance., Suppo
May 17, 2021 22:00 0 Comment WeChat Mini Program Development Document
Use abstract nodes in components, Use abstract nodes in components, Use components that contain abstract nodes, The default component of the abstract node, Abstract node, This feature has been supported since the base library version 1.9.6 of the small program., Use abstract nodes in components, Sometimes