0.0.17 • Published 4 years ago
@zhuowenli/miniapp-element v0.0.17
miniapp-element
Forked from kbone.
Introduce
Provider custom element to miniapp-render
.
Install
npm install --save @zhuowenli/miniapp-element
Usage
{
"usingComponents": {
"element": "@zhuowenli/miniapp-element"
}
}
<element data-private-node-id="{{nodeId}}" data-private-page-id="{{pageId}}"></element>
Properties
Property | Required | Description |
---|---|---|
pageId | ✔️ | Find the window/document corresponding to the page |
nodeId | ✔️ | Find the dom corresponding to the node |