Font family
Parameter for change the font family, Note: Live status Tracker doesn't support any fonts by default, so make sure you have the fonts available on your site so that the widget can use them
Implementation
Available parameters
| Parameter Lib | Parameters Web | Description |
|---|---|---|
| theme.fontFamily | fontFamily | Any font you have available in your platform Example: monospace |
Code
<!DOCTYPE html>
<head>
<title>LSW v3 Embed</title>
</head>
<body>
<div id="instaleap-lsw-v3"></div>
</body>
<script src="https://xandar-lsw-v3.instaleap.io/lib/chat.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
theme: {
fontFamily: 'monospace',
},
}
window.instaleap.chat.render(params)
</script>
</html>https://xandar-lsw-v3.instaleap.io/chat?job=myJob&token=myToken&fontFamily=monospace