wechat/component

component module provides miniprogram component bindings details in wechat document

Types

SelectorQuery type

pub type SelectorQuery

Functions

pub fn run_component(o: JsObject) -> Nil

component constructor Component({...})

pub fn select_component(
  component c: JsObject,
  selector s: String,
) -> JsObject

component.selectComponent() for the specified component

Search Document