Avoid congestion, ensure social distancing, and reduce wait times with slashQ, an efficient and simple queue management and online appointment scheduling App for businesses..
<script src="slashQ-widget.min.js?api_key={API_KEY}">
</script>
<script>
SlashqWidget.create(
{
"width": '100%',
"height": '100%',
"text": "Book An Appointment",
"font_size": '1.2rem',
"font_color": "/documentation/1.0/invoke-widget#ffffff",
"bg_color": "red",
"container":'test-element'
}
)
</script>
The create() method should be called with the configuration data. The configuration data can have the following fields;
Field | Description |
---|---|
width | The actual width of the widget button. The value should have a valid unit (px, %, vw etc) |
height | The height of the widget button. The value should have a valid unit (px, %, vh etc) |
text | The text to be shown on the widget button |
font_size | The font size of the button text. The value should have a valid unit (px, em, rem) |
font_color | The foreground color of the button text. The value should have a valid CSS color unit (color names or HEX values of colors) |
bg_color | The fill color of the widget button. The value should have a valid CSS color unit (color names or HEX values of colors) |
container | The ID of the HTML element to which the widget button is going to be attached |