@videsk/headway-sdk
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "@videsk/headway-sdk", | ||
"umdName": "HeadwaySDK", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Headway SDK for integrate changelog in custom HTML node.", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -20,4 +20,3 @@ # Headway SDK | ||
```js | ||
const changelog = new HeadwaySDK();and not have any business direct relation with Headway App, Inc. | ||
This SDK was developed because Videsk need integrate Headway app in custom UI, more programmatically and | ||
const changelog = new HeadwaySDK(); | ||
changelog.on('height', height => { | ||
@@ -38,12 +37,25 @@ // Set height to the iframe or parent node that contain the iframe | ||
**before** | ||
**property** | ||
```js | ||
changelog.events.ready = function () { | ||
// Do something | ||
}; | ||
changelog.events.badge = function () { | ||
// Do something | ||
}; | ||
``` | ||
**method** | ||
```js | ||
changelog.on('ready', function () { | ||
// Do something | ||
}); | ||
``` | ||
```js | ||
changelog.on('badge', function () { | ||
// Do something | ||
}); | ||
``` | ||
## Ready | ||
@@ -50,0 +62,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13122
96