traitify-widgets 3.0.0-alpha.31 → 3.0.0-alpha.32
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 +2 -2
- package/build/traitify.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,8 +121,8 @@ Most components trigger an initialized and updated event. Some components offer
|
|
|
121
121
|
|
|
122
122
|
The widgets are capable of showing multiple kinds of surveys to users in order to satisfy benchmark requirements, to handle the event when all surveys have been finished you should use this event:
|
|
123
123
|
```
|
|
124
|
-
Traitify.listener.on("Surveys.allFinished", (
|
|
125
|
-
console.log("Surveys.allFinished",
|
|
124
|
+
Traitify.listener.on("Surveys.allFinished", (surveys) => {
|
|
125
|
+
console.log("Surveys.allFinished", surveys);
|
|
126
126
|
});
|
|
127
127
|
```
|
|
128
128
|
|