miniapp-element
v0.1.16
Published
Custom element for MiniApp
Readme
miniapp-element
Forked from kbone.
Introduce
Provider custom element to miniapp-render.
Install
npm install --save miniapp-elementUsage
{
"usingComponents": {
"element": "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 |
