Skip to content
Main Project

Triggers and positioning

Article

By default the widget shows a launcher in the bottom-right corner. You can change every part of that.

Trigger from anywhere

// Open the widget on any element click
document.getElementById('help-button')
  .addEventListener('click', () => window.Releaseo?.open());

// Open to a specific tab
window.Releaseo?.open({ tab: 'help' });
window.Releaseo?.open({ tab: 'roadmap' });
window.Releaseo?.open({ tab: 'ideas' });

// Open a specific article or post
window.Releaseo?.open({ article: 'install-the-widget' });
window.Releaseo?.open({ post: '019e6935-…' });

Hide the default launcher

Add data-launcher="off" to the script tag, then drive it entirely from your own UI.

Keyboard shortcut

Add data-shortcut="cmd+/" to bind a custom shortcut. The widget will open on Cmd+/ (Mac) or Ctrl+/ (Windows).

Anchor to a specific element

window.Releaseo?.anchor('#whats-new-button');

The widget will position itself relative to that element instead of the corner.