WXML Reference | AIUI | Rokid

Use WXML to build a page from AIUI components, bind values from data, and connect interactions to page methods. AIUI supports a subset of WeChat Mini Program WXML. In AIU…

WXML Reference

Use WXML to build a page from AIUI components, bind values from data, and connect interactions to page methods. AIUI supports a subset of WeChat Mini Program WXML. In AIUI examples, ink:if shows a block when a condition is true and ink:for renders an item for each value in an array.

  • Introduction: Learn the basic capabilities of WXML.
  • Data Binding: Learn how to bind data to the view.
  • Conditional Rendering: Learn how to use ink:if for conditional logic.
  • List Rendering: Learn how to use ink:for to render array data.
  • Templates: Learn how to define and reference templates.