vmw-kiyoh-wrapper
v2.1.1
Published
A ts/js wrapper for the vmw open Kiyoh data
Downloads
6
Readme
vmw-kiyoh-wrapper
Index
Installation
Install via npm or yarn
npm i vmw-kiyoh-wrapper
usage
Example 1:
Set the review score in an element.
let VmwKiyoh = require('vmw-kiyoh-wrapper').VMWKiyoh;
Kiyoh = new VmwKiyoh();
Kiyoh
.liveData()
.parseData()
.then( () => {
Kiyoh.target = '#selector'
Kiyoh.sendData('total_score')
})