Customization Options

Parameters

Mighty Widget offers several customization options to tailor the experience to your needs:

  1. partnerId (required): Your unique partner identifier. You can always find the identifier at the end of your Space URL for example: if your space URL is app.mighty.study/Mighty - Your partnerId is Mighty.

  2. targetUrl (optional): The URL of target content to display.

Space URL example: app.mighty.study/Mighty - shows an entire brand space - if left empty the default parameter is the space URL):

Course URL example: paste a course URL for the user to start learning from the get-go

  1. percent (optional): The width percentage for displaying the sidebar (20-100).

  2. theme (optional): The color theme for the widget ('dark' or 'light').

Example of a customized widget:

<mighty-widget
  partnerid="YourPartnerID"
  targeturl="https://app.mighty.study/courses/your-course"
  percent="75"
  theme="light"
>
  <button>Open Learning Resources</button>
</mighty-widget>

Last updated