本篇主要介绍使用下载代码方式使用wxParse组件的方法。
git clone https://github.com/ianzhi/wxparse
略。
{
"usingComponents": {
"wxparse": "/path/to/wxparse/wxparse"
}
}
<wxparse data="{{ html }}" type="html" padding="5" url-prefix="https://static.demo.com" emoji></wxparse>
以上就是wxParse使用下载代码方式的使用方法。其他关于组件的可用属性和事件监听,请查看《组件属性》或者《组件事件》章节。
文章作者ianzhi,原文地址:https://cloud.tencent.com/developer/article/1476891
文章版权归作者所有,转载请保留此声明。