Setup Dropdown/Popup
Embed a customizable changelog widget on your website to keep users informed of product updates.
The changelog widget allows you to seamlessly embed your changelog into your website.
The widget operates by attaching itself to a button
tag. When the button is clicked, the changelog dropdown will be displayed.
Installation
To install the Changelog widget, add the following code snippet:
Trigger Dropdown View
To trigger the dropdown view of the changelog widget, add the data-supahub-changelog-dropdown
attribute to a button element:
<button data-supahub-changelog-dropdown>
What's New
<span data-supahub-badge></span>
</button>
And to display the unread badge (red dot), add <span data-supahub-badge></span>
inside the button.
Trigger Popup View
To trigger the popup view of the changelog widget, add the data-supahub-changelog-popup
attribute to a button element:
<button data-supahub-changelog-popup>
What's New
<span data-supahub-badge></span>
</button>
And to display the unread updates, add <span data-supahub-badge></span>
inside the button.