Respresso live sync client
npm install respresso-live-sync``javascript
const respressoLiveSyncClient = new RespressoLiveSync({
projectToken: '
version: '
});
respressoLiveSyncClient.onValueChangedListener = (values) => {
console.log('Add new values to your i18 service', values)
}
`
javascript
respressoLiveSyncClient.enableDocumentSelectHandler();//or
respressoLiveSyncClient.disableDocumentSelectHandler();
`Configuration
config | type | description | mandatory | default value
--- | --- | --- | --- | --- |
projectToken | string | token | required |
version | string | version | required |
appName | string | device title for live editor page | optional | Respresso WEB
frontendToken | string | code from Live editor page | optional |
localizationLang | string | language (e.g: en) | optional |
objectLocalizationFormat | boolean | localization format | optional | false
enableDocumentSelectHandler` | boolean | Selection handler for filtering | optional | false