@rezonence/sdk
v4.276.0
Published
An SDK for interacting with Rezonence FreeWalls
Downloads
51
Readme
Rezonence SDK
This project contains a set of utilities for interacting with Rezonence FreeWalls
Getting started
Make sure you have NodeJS installed on your system
Using the SDK
Run
npm install --save @rezonence/sdk
within your projectIf you use a modern web packaging system:
import r3z from '@rezonence/sdk'
Or:
var r3z = require('@rezonence/sdk')
- Listening to the answer clicked
var microsite = new r3z.Microsite();
microsite.listenForAnswerClick(function(event) {
var answerText = event.dat.answerText;
console.log("Answer clicked =", answerText);
});
Running the example
- Clone the repository using the command
git clone https://bitbucket.org/rezonence/r3z-sdk.git
- Go into the folder:
cd r3z-sdk
- Run the command:
npm install
- Compile using:
yarn run compile
- Open the file
'example-article-with-freewall.html'
in a browser