Skip to main content

Options

page
string
required
Onset page domain without https://
debug
boolean
default:"false"
Enable debug logs
theme
'light' | 'dark' | 'system'
default:"system"
Widget theme
title
string
default:"What's new"
Widget title
showLatestPopup
boolean
default:"true"
Show latest unseen release popup on load
popupPosition
'left' | 'right'
default:"right"
Placement of popup window
widgetPosition
'left' | 'right' | 'center'
default:"right"
Placement of widget window

Callbacks

onReady
Called when the widget is ready
{
  //..options
  callbacks: {
    onReady() {
      
    }
  }
}
onLoaded
Called when the widget has loaded data
{
  //..options
  callbacks: {
    onLoaded(releases: Releases[]) {
      
    }
  }
}
onWidgetOpen
Called when the widget is opened
{
  //..options
  callbacks: {
    onWidgetOpen() {
      
    }
  }
}
onWidgetClose
Called when the widget is closed
{
  //..options
  callbacks: {
    onWidgetClose() {
      
    }
  }
}
onPopupOpen
Called when the widget popup is opened
{
  //..options
  callbacks: {
    onPopupOpen() {
      
    }
  }
}
onPopupClose
Called when the widget popup is closed
{
  //..options
  callbacks: {
    onPopupOpen() {
      
    }
  }
}