Skip to content

传入类型是HTMLCollection,要如何解析到Omi里面? #945

@WaterAndBin

Description

@WaterAndBin

我现在获取到的数据是HTMLCollection类型的,请问要怎么样才能渲染到Omi当中的模版当中?
Image
在React当中有类型的工具可以帮助生成,例如:html-react-parser。
请问一下Omi是否有方法或者工具可以将HTMLCollection转换成Omi特有的渲染类型?
非常感谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions