@qualityunit/liveagent-help
v0.0.23
Published
Help component for LiveAgent
Downloads
1,112
Readme
Help component for LiveAgent
Install
You can start the installation:
npm installUsage
Usage example:
const helpCenter = document.createElement('help-center');
helpCenter.options = {
basePath: 'https://hosted.la.localhost/LiveAgent/server',
sessionId: 'ryt8pct5megpxtp7cpkipy2ycmfnyw59',
localeOptions: {
thousandsSeparator: 'S',
decimalSeparator: 'D',
dateFormat: 'MM/d/yyyy',
timeFormat: 'HH:mm:ss',
timeShortFormat: 'HH:mm',
locale: 'sk'
},
darkMode: true,
onSuccessNotification: (message) => {
if (message) console.log('Success notification: ', message);
},
onErrorNotification: (message) => {
if (message) console.log('Error notification: ', message);
},
builtInEmailAddress: '[email protected]',
limitedMode: false
};
document.body.appendChild(helpCenter);