Configuration

Control the behavior of the LogPulse widget using HTML data attributes.

Script Attributes

AttributeDescriptionDefault
data-project-idThe unique ID of your project. Required for the widget to fetch data.-
data-themeForce 'light' or 'dark' mode. If omitted, respects system preference.system
data-positionCorner position of the launcher. Values: bottom-right, bottom-left.bottom-right

Example Usage

<script 
  src="https://logpulse.com/widget.js" 
  data-project-id="YOUR_ID"
  data-theme="dark"
  data-position="bottom-left"
></script>