Onset

IFrame Embed

  • Paused
  • 75%
  • 4

Ability to directly embed public pages using <iframe />. Requirements: ...

November 30, 2022

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.
June 2022
June 26, 2022

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.