0.0.27 • Published 7 years ago
mozo-sdk-ui v0.0.27
mozo-sdk-ui
mozo-sdk-ui is a web component built with Stencil. This SDK will be used to integrate the Web Application with the MOZO desktop wallet.
Main Components
<mozo-transfer></mozo-transfer><mozo-offchain></mozo-offchain><mozo-history></mozo-history>Run the sample
To try this component:
git clone git@github.com/Biglabs/mozo-web-sdk.git
cd mozo-sdk-ui
git remote rm originand run:
npm install
npm startUsing this component with different JS frameworks
Node Modules
- Run
npm install mozo-sdk-ui --save - Put a script tag similar to this
<script src='node_modules/mozo-sdk-ui/dist/mozo-sdk-ui.js></script>in the head of your index.html - Then you can use the element
<mozo-transfer><mozo-offchain><mozo-history>anywhere in your template, JSX, html etc
In a stencil-starter app
- Run
npm install mozo-sdk-ui --save - Add this import to your root component or root module:
import 'mozo-sdk-ui'; - Then you can use the element
<mozo-transfer><mozo-offchain><mozo-history>anywhere in your template, JSX, html etc
In a Reactjs/Angular/VueJs/Webpack app
- Run
npm install mozo-sdk-ui --save - Add this import to your root component or root module:
import { defineCustomElements } from 'mozo-sdk-ui'; - Add mozo sdk style
import mozo-sdk-ui/dist/mozo-sdk-ui.css; - Call
defineCustomElements(window);in your js file - Refer to Stencil
Example usage
<mozo-transfer amount="2000" value="MOZO Transfer"></mozo-transfer><mozo-offchain show-qr-code="true"></mozo-offchain><mozo-history max-height="500px"></mozo-history>0.0.27
7 years ago
0.0.26
7 years ago
0.0.25
7 years ago
0.0.24
7 years ago
0.0.23
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
8 years ago
0.0.2
8 years ago
0.0.19
8 years ago
0.0.18
8 years ago
0.0.17
8 years ago
0.0.16
8 years ago
0.0.15
8 years ago
0.0.14
8 years ago
0.0.13
8 years ago
0.0.12
8 years ago
0.0.11
8 years ago
0.0.10
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.6
8 years ago
0.0.4
8 years ago