wechat/page
page module provides miniprogram page
bindings
details in wechat document
Functions
pub fn get_current_pages() -> Array(JsObject)
global function getCurrentPages()
pub fn get_data(index: Int) -> Result(JsObject, WechatError)
get data
of render layer for the current page
pub fn select_component(
page p: JsObject,
component c: String,
) -> JsObject
page.selectComponent()
for the specified page