wechat/component
component module provides miniprogram component bindings
details in wechat document
Types
SelectorQuery type
pub type SelectorQuery
Values
pub fn run_component(o: object.JsObject) -> Nil
component constructor Component({...})
pub fn select_component(
component c: object.JsObject,
selector s: String,
) -> object.JsObject
component.selectComponent() for the specified component