@survicate/survicate-web-package 22.3.0-npm → 22.4.1-npm
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -5
- package/package.json +1 -1
- package/survicate_widget.js +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Survicate Web Package
|
|
2
|
-
This package allows you to run a web survey directly in your code.
|
|
2
|
+
This package allows you to run a web survey directly in your code.
|
|
3
3
|
It's built on top of [Preact](https://github.com/preactjs/preact) using [Typescript](https://github.com/Microsoft/TypeScript) and [CSS Modules](https://github.com/css-modules/css-modules).
|
|
4
4
|
|
|
5
5
|
# Installation
|
|
6
|
-
`npm install @survicate/survicate-web-package --save`
|
|
6
|
+
`npm install @survicate/survicate-web-package --save`
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
# Initialization
|
|
10
|
-
Find your workspace key in the [Survicate Panel](https://panel.survicate.com/o/0/w/0/settings/access-keys).
|
|
9
|
+
# Initialization
|
|
10
|
+
Find your workspace key in the [Survicate Panel](https://panel.survicate.com/o/0/w/0/settings/access-keys).
|
|
11
11
|
|
|
12
12
|
```javascript
|
|
13
13
|
import Survicate from '@survicate/survicate-web-package/survicate_widget'
|
|
@@ -40,4 +40,8 @@ Survicate.addEventListener(ApiEvent.questionAnswered , () => console.log('questi
|
|
|
40
40
|
Survicate.removeEventListener(ApiEvent.questionAnswered);
|
|
41
41
|
|
|
42
42
|
```
|
|
43
|
-
*Please refer to the [documentation](https://developers.survicate.com/javascript/methods/) for the rest of the methods.*
|
|
43
|
+
*Please refer to the [documentation](https://developers.survicate.com/javascript/methods/) for the rest of the methods.*
|
|
44
|
+
|
|
45
|
+
# Changelog
|
|
46
|
+
|
|
47
|
+
The Survicate JavaScript SDK changelog can be found [here](https://developers.survicate.com/javascript/js-sdk-changelog/)
|
package/package.json
CHANGED