Added | Added new |
Added | Added new Roadmap Update webhook events:
|
Added | Added |
Added | Added |
Removed | Removed |
Removed | Removed |
Added | Added new |
Added | Added empty state copy. |
Changed | BREAKING CHANGE - the |
Changed | The |
Fixed | Fixed the scroll position on project and view select. |
We’ve added two new handy methods to our JavaScript Widget.
onsetWidget.update()
- updates widget options. Useful when updating the widget’s theme to match the embedded site’s look.onsetWidget.reload()
- reloads the widget with the new data source and options.
Developers rejoice. Onset JavaScript SDK is officially here! We have made three different packages available for your disposal. All packages are available via NPM and YARN and include type definitions.
@onsetio/browser
Primarily used in the browser for loading public releases.
@onsetio/node
Onset API JavaScript interface.
@onsetio/widget
We recommend that you should always be loaded the Widget.js script directly from https://widget.onset.io/widget.js
, rather than including it in a bundle or host yourself. If must bundle the Widget code into your application, you can use this package.