Add a container element where the widget will render:
<div id="inploi-job-alerts"></div>
Configuration
Theme
Option
Values
Description
mode
light, dark
Color scheme
corners
rounded, soft, sharp
Border radius style
highlights
stroke, fill
Button/tag style
accent
{ hue: number, chroma: number }
Accent color. hue: 0–360 color angle, chroma: 0–2 intensity multiplier
Other options
Option
Type
Required
Description
config.label
string
Yes
Button label text
config.headerText
string
Yes
Header above the form
initialFilters
Record<string, string | string[]>
Yes
Pre-populated filter values
terms
object
No
Override default UI text. Keys: email, name, save, save_alert, frequency, create_alert, email_placeholder, name_placeholder, and frequency labels (DAILY, WEEKLY, MONTHLY)
API
render(params)
Mounts the job alerts form in the host element.
setFilters(filters)
Updates the current filters programmatically.
alerts.setFilters({ city: 'London' });
setConfig(config)
Updates the label and header text at runtime. Accepts an object or an updater function.
alerts.setConfig({ label: 'Subscribe', headerText: 'Get notified about new jobs' });// Or use an updater functionalerts.setConfig(prev => ({ ...prev, label: 'Updated label' }));