Skip to main content

Configuration Options

🔧 Configuration Options

Required

  • token (string) – Authentication token
  • companyId (string) – Your company identifier
  • locationId (string) – Default location

UI Customization

  • title – Widget title (default: "Book an Appointment")
  • showLogo – Show/hide logo (1 or 0)
  • showPhoneNumber – Show phone number button (true/false)
  • logo: { name, src } – Logo name and URL
  • colors – Full theme customization object (see "Theming")

Behavior Flags

  • iframeMode – Use iframe rendering
  • modalMode – Adds backdrop and padding
  • sameday – Enable same-day scheduling
  • samedayOpen – Hide services without availability
  • useDatePicker – Replace time picker with a calendar

⚖️ Method: toggle()

Toggles widget visibility.

jarvis.toggle();